blowater/UI/makefile

23 lines
620 B
Makefile
Raw Normal View History

2023-11-02 18:32:52 +00:00
# https://stackoverflow.com/questions/3931741/why-does-make-think-the-target-is-up-to-date
.PHONY: build-pwa build-extension
2023-06-30 14:05:57 +00:00
page=app
port=4507
test: bundle
file_server ./deploy
bundle:
deno bundle --config=./deno.json $(page).test.tsx deploy/main.mjs
2023-10-31 08:27:46 +00:00
app: build-pwa
file_server --port=$(port) ./build-pwa
compile-all-tests:
deno run --allow-read --allow-env --allow-write --allow-net _compile-ui-tests.ts
2023-10-31 08:27:46 +00:00
build-extension:
deno run --allow-read --allow-env --allow-write --allow-net build-extension.ts
build-pwa:
deno run --allow-read --allow-env --allow-write --allow-net build-pwa.ts