styling
This commit is contained in:
parent
d8eaa98e36
commit
154f04c202
7 changed files with 190 additions and 17 deletions
10
justfile
10
justfile
|
@ -4,15 +4,21 @@ alias c := clean
|
|||
|
||||
build:
|
||||
mkdir -p build
|
||||
cat src/data/* | toml2json > build/gewichtungen.json
|
||||
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 dist/index.html
|
||||
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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue