Skip to content

Commit 63a075c

Browse files
author
Christos KK Loverdos
committed
report: build with just
1 parent 191c697 commit 63a075c

File tree

2 files changed

+15
-1
lines changed

2 files changed

+15
-1
lines changed

doc/report/justfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# just use cargo
2+
build: system-info
3+
cargo build
4+
5+
system-info:
6+
@echo "Running on {{arch()}}/{{os_family()}}/{{os()}}"

doc/report/readme.md

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,20 @@ You can generate the PDF using:
66
latexmk -pdfxe -xelatex="xelatex --shell-escape %O %S" report
77
```
88

9-
or, if you have `cargo`:
9+
or, if you have [`cargo`](https://doc.rust-lang.org/cargo/):
1010

1111
```shell
1212
cargo build
1313
```
1414

15+
or, if you have [`just`](https://github.com/casey/just):
16+
17+
```shell
18+
just
19+
```
20+
21+
Note that the `just` recipe assumes `cargo`.
22+
1523
We assume a full `texlive` distribution, `latexmk` and the `pygments` python library, so on Ubuntu the dependencies can be installed using:
1624

1725
```shell

0 commit comments

Comments
 (0)