reshuffle things

This commit is contained in:
2026-01-23 02:06:39 +02:00
parent b21f4d2281
commit 09f7fdd1d0
13 changed files with 120 additions and 81 deletions

View File

@@ -3,9 +3,9 @@ alias c := compile
alias nw := nix-watch
alias nb := nix-build
alias ns := nix-shell
alias nd := nix-develop
file := "main.typ"
file := "src/main.typ"
out := `cat doc.toml | tomlq '.doctype + (.worknumber | tostring) + "_" + (.authors[0].name | split(" ")[0]) + "_" + (.authors[0].edu + "-" + .authors[0].group) + "_" + .subject + ".pdf"'`
[group('typst')]
@@ -19,8 +19,8 @@ copy-done:
cp main.pdf ../{{out}}
[group('nix')]
nix-shell:
nix shell nixpkgs#{yq,typst}
nix-develop:
nix develop .
[group('nix')]
nix-watch:
nix run .#watch