mirror of
https://gitlab.gwdg.de/j.hahn02/ws-numerik.git
synced 2026-03-02 03:32:43 +01:00
Add julia support and example
This commit is contained in:
15
justfile
15
justfile
@@ -10,12 +10,19 @@ setup:
|
||||
test:
|
||||
uv run python main.py
|
||||
|
||||
# Run code that generates output
|
||||
output: ensure-build
|
||||
julia --project=. main.jl
|
||||
|
||||
# Build document and open in zathura
|
||||
build:
|
||||
rm main.pdf
|
||||
typst compile main.typ
|
||||
zathura main.pdf >/dev/zero 2>&1 & disown
|
||||
build: output
|
||||
rm main.pdf || true
|
||||
typst compile main.typ build/main.pdf
|
||||
zathura build/main.pdf >/dev/zero 2>&1 & disown
|
||||
|
||||
# Format code in place
|
||||
format:
|
||||
typstyle -i main.typ
|
||||
|
||||
ensure-build:
|
||||
mkdir -p build
|
||||
|
||||
Reference in New Issue
Block a user