-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscripts.yaml
More file actions
71 lines (51 loc) · 1.58 KB
/
Copy pathscripts.yaml
File metadata and controls
71 lines (51 loc) · 1.58 KB
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# Config Getting Started Guide: https://velociraptor.run/docs/configuration/
# Complete Config Docs: https://doc.deno.land/https://deno.land/x/velociraptor@1.5.0/src/scripts_config.ts
# IMPORTANT: Run some vr command at least once, to install the git hooks! (a simple `vr` is enough)
envFile:
- .env
allow:
env: true
scripts:
start:
cmd: deno run main.ts codeup latest
allow:
read: true
run: true
net: 'deno.land,x.nest.land'
reset:
cmd:
- deno install -f --name codeup https://deno.land/x/codeup@2.0.0-beta.1/main.ts
- deno install -f --name dmm --allow-net='cdn.deno.land,api.deno.land,x.nest.land,raw.githubusercontent.com,github.com,api.github.com' https://x.nest.land/dmm@1.3.2/mod.ts
allow:
read: true
write: true
run: true
test:
cmd: deno test --fail-fast
allow:
net: true
read: true
run: true
update-snapshots:
cmd: deno test -- --update
allow:
all: true
format: deno fmt
build: vr bundle
bundle: deno bundle main.ts dist/${CLI_NAME}.js
# If needed, adjust
compile:
cmd: "deno compile --target x86_64-pc-windows-msvc -A -o dist/${CLI_NAME} main.ts "
# Added by global allow config:
# --allow-env
install:
cmd: deno install --name ${CLI_NAME} main.ts
allow:
read: true
run: true
net: 'deno.land,x.nest.land'
uninstall: deno uninstall --unstable ${CLI_NAME}
install-cowsay:
cmd: deno install --name cowsay https://deno.land/x/cowsay/cowsay.ts
uninstall-cowsay:
cmd: deno uninstall cowsay