summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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