alias b := build alias c := clean build: mkdir -p build cat ./src/studiengänge/* | toml2json > build/studiengaenge.json # typescript compilation depends on gewichtungen.json tsc mv src/rechner.js build/ # This makes the code more debuggable which is a win in my book webpack --mode development cp src/index.html src/stylesheet.css dist/ cp ./res/Exo2-VariableFont_wght.ttf dist/ watch: find src/ | entr -s 'just build' clean: rm -rf ./build ./dist rm ./src/rechner.js