-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSpacefile
53 lines (50 loc) · 1.81 KB
/
Spacefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Spacefile Docs: https://go.deta.dev/docs/spacefile/v0
v: 0
app_name: Space Deno
micros:
- name: deno-alephjs
src: ./src/deno-alephjs/
engine: custom
commands:
- apt-get update
- apt-get -y install zip
- curl -L --fail --location --progress-bar --output out.zip https://github.com/denoland/deno/releases/download/v1.32.5/deno-x86_64-unknown-linux-gnu.zip
- unzip -d ./ -o out.zip
- chmod +x ./deno
presets:
env:
- name: DENO_DIR
description: deno config dir
default: "/tmp/deno_dir"
run: ./deno run --allow-env --allow-read --allow-write --allow-run --allow-net server.ts
primary: true
# - name: deno-fresh
# src: ./src/deno-fresh/
# engine: custom
# commands:
# - apt-get update
# - apt-get -y install zip
# - curl -L --fail --location --progress-bar --output out.zip https://github.com/denoland/deno/releases/download/v1.32.5/deno-x86_64-unknown-linux-gnu.zip
# - unzip -d ./ -o out.zip
# - chmod +x ./deno
# presets:
# env:
# - name: DENO_DIR
# description: deno config dir
# default: "/tmp/deno_dir"
# run: ./deno run --allow-env --allow-read --allow-run --allow-net main.ts
# - name: deno-crud
# src: ./src/deno-crud/
# engine: custom
# commands:
# - apt-get update
# - apt-get -y install zip
# - curl -L --fail --location --progress-bar --output out.zip https://github.com/denoland/deno/releases/download/v1.32.5/deno-x86_64-unknown-linux-gnu.zip
# - unzip -d ./ -o out.zip
# - chmod +x ./deno
# presets:
# env:
# - name: DENO_DIR
# description: deno config dir
# default: "/tmp/deno_dir"
# run: ./deno run --allow-env --allow-read --allow-write --allow-run --allow-net server.ts