vex_svelte/Makefile

13 lines
348 B
Makefile

2024-02-02 16:41:07 -07:00
build/index.html: src/routes/+page.svelte src/routes/control/+page.svelte src/routes/admin/+page.svelte static/gifs/* static/robots/*
2024-01-06 12:01:46 -07:00
npm run build
.PHONY: run dev iframe
2024-01-06 12:01:46 -07:00
run: build/index.html
cd build && python3 -m http.server
dev:
npm run dev
iframe: build/index.html
cp iframe.html build/iframe.html && cd build && python3 -m http.server