1
0
mirror of https://codeberg.org/ilovexjp/health-code-simulator.git synced 2024-11-25 18:47:38 +08:00
health-code-simulator/Makefile

13 lines
245 B
Makefile
Raw Permalink Normal View History

2022-11-17 18:34:59 +08:00
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