mirror of
https://gitlab.gwdg.de/j.hahn02/ws-numerik.git
synced 2026-03-02 03:32:43 +01:00
Minimal setup
This commit is contained in:
19
justfile
Normal file
19
justfile
Normal file
@@ -0,0 +1,19 @@
|
||||
default:
|
||||
@just --list
|
||||
|
||||
# Setup python environment with uv
|
||||
setup:
|
||||
uv sync
|
||||
|
||||
# Run the python main entrypoint
|
||||
test:
|
||||
uv run python main.py
|
||||
|
||||
# Build document and open in zathura
|
||||
build:
|
||||
typst compile main.typ
|
||||
zathura main.pdf >/dev/zero 2>&1 & disown
|
||||
|
||||
# Format code in place
|
||||
format:
|
||||
typstyle -i main.typ
|
||||
Reference in New Issue
Block a user