From ecdc00b4b24552d269d338cbe1415f854aaf72ec Mon Sep 17 00:00:00 2001 From: alexander Date: Mon, 19 Jan 2026 01:04:12 +0100 Subject: [PATCH] moved more around --- .gitea/workflows/build-script.yaml | 13 ++++++------- src/{Analysis1 => cheatsheets}/Analysis1.typ | 0 .../LinearAlgebra.typ | 4 ++-- .../Schaltungstheorie.typ | 0 4 files changed, 8 insertions(+), 9 deletions(-) rename src/{Analysis1 => cheatsheets}/Analysis1.typ (100%) rename src/{LinearAlgebra => cheatsheets}/LinearAlgebra.typ (98%) rename src/{Schaltungstheorie => cheatsheets}/Schaltungstheorie.typ (100%) diff --git a/.gitea/workflows/build-script.yaml b/.gitea/workflows/build-script.yaml index a01a5b9..3208f64 100644 --- a/.gitea/workflows/build-script.yaml +++ b/.gitea/workflows/build-script.yaml @@ -7,10 +7,6 @@ on: pull_request: branches: [ "**" ] -env: - TYPST_SOURCE_DIR: src - BUILD_DIR: build - jobs: build-typst: runs-on: ubuntu-latest @@ -28,23 +24,26 @@ jobs: - name: Debug Ls run: ls -la "$PWD" && echo "$PWD && echo ${{ github.workspace }}" + - name: Make build directory + run: mkdir -p build + - name: Compile Analysis1 continue-on-error: true with: working-directory: src/Analysis1 - run: typst compile Analysis1.typ ../../build/Analysis1.pdf + run: typst compile --root src src/cheatsheets/Analysis1.typ ../build/Analysis1.pdf - name: Compile Schaltungstheorie continue-on-error: true with: working-directory: src/Schaltungstheorie - run: typst compile Schaltungstheorie.typ ../../build/Schaltungstheorie.pdf + run: typst compile --root src src/cheatsheets/Schaltungstheorie.typ ../build/Schaltungstheorie.pdf - name: Compile LinAlg continue-on-error: true with: working-directory: src/LinearAlgebra - run: typst compile LinearAlgebra.typ ../../build/LinearAlgebra.pdf + run: typst compile --root src src/cheatsheets/LinearAlgebra.typ ../build/LinearAlgebra.pdf - name: Create Gitea Release continue-on-error: true diff --git a/src/Analysis1/Analysis1.typ b/src/cheatsheets/Analysis1.typ similarity index 100% rename from src/Analysis1/Analysis1.typ rename to src/cheatsheets/Analysis1.typ diff --git a/src/LinearAlgebra/LinearAlgebra.typ b/src/cheatsheets/LinearAlgebra.typ similarity index 98% rename from src/LinearAlgebra/LinearAlgebra.typ rename to src/cheatsheets/LinearAlgebra.typ index acdb14e..ae2e0ec 100644 --- a/src/LinearAlgebra/LinearAlgebra.typ +++ b/src/cheatsheets/LinearAlgebra.typ @@ -1,7 +1,7 @@ #import "@preview/biceps:0.0.1" : * #import "@preview/mannot:0.3.1" -#import "lib/styles.typ" : * -#import "lib/common_rewrite.typ" : * +#import "../lib/styles.typ" : * +#import "../lib/common_rewrite.typ" : * #set page( paper: "a4", diff --git a/src/Schaltungstheorie/Schaltungstheorie.typ b/src/cheatsheets/Schaltungstheorie.typ similarity index 100% rename from src/Schaltungstheorie/Schaltungstheorie.typ rename to src/cheatsheets/Schaltungstheorie.typ