about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-04-02 13:23:21 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-04-02 13:24:38 +0200
commitc8d70c2f2e2e6eeffa3be301b3d455802cf2565a (patch)
treef462f7154db6618535c5671ba277ebaf58cd194a
parentfix(common): Remove the last occurrences of hard coded values (diff)
downloadflake-templates-c8d70c2f2e2e6eeffa3be301b3d455802cf2565a.tar.gz
flake-templates-c8d70c2f2e2e6eeffa3be301b3d455802cf2565a.zip
refactor(common): Move all data files to `./common/files`
-rw-r--r--common/files/.licensure.yml (renamed from common/.licensure.yml)0
-rw-r--r--common/files/docs/TODO.1.md (renamed from common/docs/TODO.1.md)0
-rwxr-xr-xcommon/files/init (renamed from common/init)0
-rwxr-xr-xcommon/files/scripts/renew_copyright_header.sh (renamed from common/scripts/renew_copyright_header.sh)0
-rw-r--r--common/files/shell_line_editor.sh (renamed from common/shell_line_editor.sh)0
-rw-r--r--common/files/treefmt.nix (renamed from common/treefmt.nix)0
l---------treefmt.nix2
-rw-r--r--[-rwxr-xr-x]update_common_files.sh2
8 files changed, 2 insertions, 2 deletions
diff --git a/common/.licensure.yml b/common/files/.licensure.yml
index 60ef45c..60ef45c 100644
--- a/common/.licensure.yml
+++ b/common/files/.licensure.yml
diff --git a/common/docs/TODO.1.md b/common/files/docs/TODO.1.md
index 15d5072..15d5072 100644
--- a/common/docs/TODO.1.md
+++ b/common/files/docs/TODO.1.md
diff --git a/common/init b/common/files/init
index 1b7c86b..1b7c86b 100755
--- a/common/init
+++ b/common/files/init
diff --git a/common/scripts/renew_copyright_header.sh b/common/files/scripts/renew_copyright_header.sh
index 4f424c3..4f424c3 100755
--- a/common/scripts/renew_copyright_header.sh
+++ b/common/files/scripts/renew_copyright_header.sh
diff --git a/common/shell_line_editor.sh b/common/files/shell_line_editor.sh
index 8d6833a..8d6833a 100644
--- a/common/shell_line_editor.sh
+++ b/common/files/shell_line_editor.sh
diff --git a/common/treefmt.nix b/common/files/treefmt.nix
index 1cbab40..1cbab40 100644
--- a/common/treefmt.nix
+++ b/common/files/treefmt.nix
diff --git a/treefmt.nix b/treefmt.nix
index d29102a..3231241 120000
--- a/treefmt.nix
+++ b/treefmt.nix
@@ -1 +1 @@
-common/treefmt.nix
\ No newline at end of file
+common/files/treefmt.nix
\ No newline at end of file
diff --git a/update_common_files.sh b/update_common_files.sh
index c9c06c0..6e3c145 100755..100644
--- a/update_common_files.sh
+++ b/update_common_files.sh
@@ -3,7 +3,7 @@
 ROOT="$(git rev-parse --show-toplevel)"
 
 # This results in fd returning relative paths
-cd "$ROOT/common" || echo "BUG, no root dir!"
+cd "$ROOT/common/files" || echo "BUG, no root dir!"
 
 file_spec="$(nix eval --file "$ROOT/common/default.nix" --json)"