Corkboard/makefile

20 lines
338 B
Makefile
Raw Normal View History

2023-04-23 19:51:14 +00:00
debug: clean build js_debug
clean:
-rm -rf target
-rm -rf .sass-cache
build: javascript
- mkdir target
sass source/scss/main.scss target/style.css
-mkdir target/assets
cp source/assets/* target/assets/
cp source/index.html target/index.html
javascript:
npx rollup -c
js_debug:
-mkdir target/js
cp -r source/js/* target/js/