sheetjs/demos/deno/Makefile

17 lines
377 B
Makefile
Raw Permalink Normal View History

2022-02-12 06:31:47 +00:00
TESTS= x mjs jspm
UNSTABLE= node
2022-02-13 09:35:34 +00:00
2022-02-12 06:31:47 +00:00
.PHONY: test
test: $(UNSTABLE) $(TESTS)
2022-02-13 09:35:34 +00:00
.PHONY: sheet2csv
sheet2csv: sheet2csv.ts
deno compile -r --allow-read $<
2022-02-12 06:31:47 +00:00
$(TESTS): %: %.ts doit.ts
deno run --allow-read --allow-write $<
# --unstable is required, see https://github.com/denoland/deno_std/issues/1900
$(UNSTABLE): %: %.ts doit.ts
deno run --allow-read --allow-write --unstable $<