aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorFuwn <[email protected]>2021-03-13 21:20:33 -0800
committerGitHub <[email protected]>2021-03-13 21:20:33 -0800
commit51252cc24e3e475daf04d0dcfc51b5a2a1393b12 (patch)
treeb046e11854432133d866bca6386c2328ed1100b6 /Makefile
parentchore: readme (diff)
downloaddiscordeno-cli-master.tar.xz
discordeno-cli-master.zip
chore: tidy up makefileHEADmaster
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile8
1 files changed, 5 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index fb6fce0..ded362b 100644
--- a/Makefile
+++ b/Makefile
@@ -1,10 +1,12 @@
+flags = --allow-net --allow-read --allow-write --allow-run --unstable
+
all: version help run
run:
- deno run --allow-net --allow-read --allow-write --allow-run --unstable mod.ts
+ deno run $(flags) mod.ts
help:
- deno run --allow-net --allow-read --allow-write --allow-run --unstable mod.ts --help
+ deno run $(flags) mod.ts --help
version:
- deno run --allow-net --allow-read --allow-write --allow-run --unstable mod.ts --version
+ deno run $(flags) mod.ts --version