diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 3f5147f..85f1826 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -19,12 +19,14 @@ jobs: id: setup-typst with: version: 'latest' + - name: Setup Just + uses: extractions/setup-just@v2 - name: Set up Git repository uses: actions/checkout@v3 - name: typst version run: typst --version - name: Compile - run: make build-examples + run: just build-examples - name: Upload example PDF uses: actions/upload-artifact@v3 with: diff --git a/makefile b/makefile deleted file mode 100644 index 7b880fe..0000000 --- a/makefile +++ /dev/null @@ -1,14 +0,0 @@ -# This makefile is only here of compatibility purposes. -# I highly recommand to use the command laucher just (https://just.systems/man/en/). - - -version=0.2.6 - -build-examples: - @echo THIS MAKE COMMAND IS NOT THE OFFICIAL WAY - @echo TO BUILD THE EXAMPLES. PLEASE USE THE JUST - @echo RECIPES DEFINED IN THE justfile IN THIS REPO. - @echo "" - mkdir -p ~/.local/share/typst/packages/local/glossarium/${version} - cp -r * ~/.local/share/typst/packages/local/glossarium/${version} - find examples/* -type d -exec typst compile --root {} {}/main.typ \; \ No newline at end of file