added a justfile with the command to build the specification

This commit is contained in:
jan 2024-12-30 15:12:39 +01:00
parent cea522cee3
commit 70fb53e87a
3 changed files with 8 additions and 1 deletions

2
.gitignore vendored
View File

@ -22,3 +22,5 @@ target/
# So we do not commit the compiled specifications for every small change
*.pdf
# A folder for the releases
releases

5
justfile Normal file
View File

@ -0,0 +1,5 @@
release_spec semver:
-mkdir {{justfile_dir()}}/releases
typst compile specification/specification.typ {{justfile_dir()}}/releases/specification_{{semver}}.pdf --input semver={{semver}}

View File

@ -1,5 +1,5 @@
#import "@preview/colorful-boxes:1.4.0":slanted-colorbox
#let version= "0.1.0"
#let version=sys.inputs.at(default:"??.??.??","semver")
#let title= "SVC16: A Simple Virtual Computer"
#set text(size: 8pt)
#set page(