From e2ff82b759f7967261838c1844a0f5683f558331 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Felix=20Schr=C3=B6ter?= <dev@felschr.com>
Date: Mon, 24 Feb 2025 11:56:28 +0100
Subject: [PATCH] refactor: move sources into src/

---
 .forgejo/workflows/build.yml | 2 +-
 .gitignore                   | 2 +-
 flake.nix                    | 3 ++-
 main.typ => src/main.typ     | 0
 4 files changed, 4 insertions(+), 3 deletions(-)
 rename main.typ => src/main.typ (100%)

diff --git a/.forgejo/workflows/build.yml b/.forgejo/workflows/build.yml
index 5e778ed..bd5f41c 100644
--- a/.forgejo/workflows/build.yml
+++ b/.forgejo/workflows/build.yml
@@ -18,4 +18,4 @@ jobs:
       - uses: https://code.forgejo.org/forgejo/upload-artifact@v4
         with:
           name: CV
-          path: main.pdf
+          path: out
diff --git a/.gitignore b/.gitignore
index 5467d5d..56bec50 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,5 @@
 # typst
-*.pdf
+/out
 
 # Nix
 /result
diff --git a/flake.nix b/flake.nix
index b32f6b2..3ba17f4 100644
--- a/flake.nix
+++ b/flake.nix
@@ -36,7 +36,8 @@
 
         src = typixLib.cleanTypstSource ./.;
         commonArgs = {
-          typstSource = "main.typ";
+          typstSource = "src/main.typ";
+          typstOutput = "out/main.pdf";
 
           fontPaths = [ ];
 
diff --git a/main.typ b/src/main.typ
similarity index 100%
rename from main.typ
rename to src/main.typ