notenrechner/justfile
Frieder Hannenheim d8eaa98e36 basic notenrechner
2025-01-29 14:57:00 +01:00

18 lines
324 B
Makefile

alias b := build
alias c := clean
build:
mkdir -p build
cat src/data/* | toml2json > build/gewichtungen.json
# typescript compilation depends on gewichtungen.json
tsc
mv src/rechner.js build/
webpack --mode development
cp src/index.html dist/index.html
clean:
rm -rf ./build ./dist