summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorR0flcopt3r <12752060+R0flcopt3r@users.noreply.github.com>2025-03-17 01:15:55 +0100
committerGitHub <noreply@github.com>2025-03-16 21:15:55 -0300
commite0e4a78dfbe3a1a054a7e1342eac68430c529d96 (patch)
treec44ae22d2a645532d49579f4893edb636074fba7 /.gitignore
parentf1d14428d11a562a537942bc6e2fed8bcea60a70 (diff)
downloadAeroCore-OS-e0e4a78dfbe3a1a054a7e1342eac68430c529d96.tar.gz
AeroCore-OS-e0e4a78dfbe3a1a054a7e1342eac68430c529d96.zip
feat: build in tempdir and move files on success (#82)
* feat: build in tempdir and move files on success Before it would delete your outputs before starting the build. That means miss-typing the command for example could lead to losing data. This also creates separate folders for each type to avoid collision. * fix: tempdir naming this follows the convention set in the `_rootful_load_image` target. * fix: delete output folder in clean target * fix: move contents of temp build directory This ensures a flatter folder structure, bib allready seem to ensure there aren't any file name collisions. output folder would look like this after building a raw and qcow2. output ├── image │   └── disk.raw ├── manifest-qcow2.json ├── manifest-raw.json └── qcow2 └── disk.qcow2 * fix: overwrite previous output directory From conversations in https://github.com/ublue-os/image-template/pull/82 this is the wanted behaviour for this project. * revert: overwrite previous output directory This reverts commit 75448d72fa624cea01524d5651c926ae772460bf. * chore(gitignore): ensure build directories are not showing up on diffs --------- Co-authored-by: Tulip Blossom <tulilirockz@proton.me>
Diffstat (limited to '.gitignore')
-rw-r--r--.gitignore3
1 files changed, 2 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index dcaf584..9eee28b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
cosign.key
_build_*
-output \ No newline at end of file
+output
+_build-*/**