sheetjs/demos/deno/Makefile

25 lines
561 B
Makefile
Raw Normal View History

2022-03-22 22:19:52 +00:00
TESTS= x mjs
2022-02-12 06:31:47 +00:00
UNSTABLE= node
2022-03-20 01:54:41 +00:00
TEST_FILES=number_format_greek.xls
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-03-20 01:54:41 +00:00
$(TESTS): %: %.ts doit.ts $(TEST_FILES)
2022-02-12 06:31:47 +00:00
deno run --allow-read --allow-write $<
# --unstable is required, see https://github.com/denoland/deno_std/issues/1900
2022-03-20 01:54:41 +00:00
$(UNSTABLE): %: %.ts doit.ts $(TEST_FILES)
2022-02-12 06:31:47 +00:00
deno run --allow-read --allow-write --unstable $<
2022-03-20 01:54:41 +00:00
.PHONY: stream
stream: stream.ts
deno run $<
number_format_greek.xls:
cp ../../test_files/biff5/number_format_greek.xls .