1
0
mirror of https://codeberg.org/ilovexjp/health-code-simulator.git synced 2024-11-22 23:57:36 +08:00
health-code-simulator/Makefile
2022-11-17 10:34:59 +00:00

13 lines
245 B
Makefile

build: clean makeassets
./build.sh
serve: makeassets
python3 -m http.server --directory src 80
makeassets:
sed -i "s/\(\/\*\ BEGIN\ ASSETS\ \*\/\).*/\1/" src/service-worker.js
./makeassets.sh >> src/service-worker.js
clean:
rm -rf build