1
0
mirror of https://codeberg.org/ilovexjp/health-code-simulator.git synced 2024-11-22 12:14:52 +08:00
health-code-simulator/Makefile
2022-11-21 21:59:21 +08:00

14 lines
375 B
Makefile

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