filament_3d_coast_calculater/Makefile

33 lines
573 B
Makefile
Raw Normal View History

2024-09-26 13:49:39 +02:00
.PHONY: dev-deploy pretty build build-src build-png build-assets default-target clean
default-target: build
clean:
rm -rf dist node_modules
dev-deploy: build
rsync -rv dist/* shnbk.de:domains/3dcalc.shnbk.de/htdocs/
pretty:
prettier -w src/**/*.html **/*.md
dist:
mkdir dist
build: build-assets build-png build-src
build-src: dist
minify -ar src/ -o dist
build-png: dist
pngcrush -q -d dist src/*.png
build-assets: dist node_modules
minify node_modules/bulma/css/bulma.min.css -o dist/bulma.min.css
node_modules: package.json
npm i
touch node_modules