reshuffle things
This commit is contained in:
8
justfile
8
justfile
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user