Makefile 292 B

12345678910111213
  1. DENO_INSTALL ?= ${HOME}/.deno
  2. default: build
  3. .PHONY: build
  4. build:
  5. rm -rf build && mkdir -p build
  6. ${DENO_INSTALL}/bin/deno run --allow-read=. --allow-write=build src/build.ts
  7. .PHONY: deno # installs deno (only use this in CI)
  8. deno:
  9. curl -fsSL https://deno.land/x/install/install.sh | sh