notenrechner/justfile
2025-01-28 18:06:01 +01:00

14 lines
294 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 --outFile build/rechner.js src/rechner.ts
cp src/index.html build/index.html
clean:
rm -rf ./build