summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2020-05-28 22:55:06 +0000
committergumi <git@gumi.ca>2020-05-28 22:55:06 +0000
commit378c608539d542df27c5fea00ea9b633f202ea7a (patch)
tree7e85f292caf0acdcc2caf6eafae13e5a9ae59fff /Makefile
downloadpolicies-378c608539d542df27c5fea00ea9b633f202ea7a.tar.gz
policies-378c608539d542df27c5fea00ea9b633f202ea7a.tar.bz2
policies-378c608539d542df27c5fea00ea9b633f202ea7a.tar.xz
policies-378c608539d542df27c5fea00ea9b633f202ea7a.zip
first draft
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..16884f5
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,12 @@
+DENO_INSTALL ?= ${HOME}/.deno
+
+default: build
+
+.PHONY: build
+build:
+ rm -rf build && mkdir -p build
+ ${DENO_INSTALL}/bin/deno run --allow-read=. --allow-write=build src/build.ts
+
+.PHONY: deno # installs deno (only use this in CI)
+deno:
+ curl -fsSL https://deno.land/x/install/install.sh | sh \ No newline at end of file