about summary refs log tree commit diff stats
path: root/templates/rust
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-03-31 17:40:13 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-03-31 23:59:56 +0200
commit8180fca7a1acd0aff84a44e53a5f66181360a216 (patch)
treeb72499eec8256c4090b8031b9eb99cff6324bb58 /templates/rust
parentfeat(awk): Update to my current SOTA (diff)
downloadflake-templates-8180fca7a1acd0aff84a44e53a5f66181360a216.tar.gz
flake-templates-8180fca7a1acd0aff84a44e53a5f66181360a216.zip
refactor(rust): Move to template dir
Diffstat (limited to '')
-rw-r--r--templates/rust/.envrc (renamed from rust/.envrc)0
-rw-r--r--templates/rust/.gitignore (renamed from rust/.gitignore)0
-rw-r--r--templates/rust/COPYING (renamed from rust/COPYING)0
-rw-r--r--templates/rust/LICENSE.spdx (renamed from rust/LICENSE.spdx)0
-rw-r--r--templates/rust/cog.toml (renamed from rust/cog.toml)14
-rw-r--r--templates/rust/flake.nix (renamed from rust/flake.nix)0
-rwxr-xr-xtemplates/rust/update.sh (renamed from rust/update.sh)0
7 files changed, 6 insertions, 8 deletions
diff --git a/rust/.envrc b/templates/rust/.envrc
index a9c7e4e..a9c7e4e 100644
--- a/rust/.envrc
+++ b/templates/rust/.envrc
diff --git a/rust/.gitignore b/templates/rust/.gitignore
index 8884339..8884339 100644
--- a/rust/.gitignore
+++ b/templates/rust/.gitignore
diff --git a/rust/COPYING b/templates/rust/COPYING
index f288702..f288702 100644
--- a/rust/COPYING
+++ b/templates/rust/COPYING
diff --git a/rust/LICENSE.spdx b/templates/rust/LICENSE.spdx
index ecb7d83..ecb7d83 100644
--- a/rust/LICENSE.spdx
+++ b/templates/rust/LICENSE.spdx
diff --git a/rust/cog.toml b/templates/rust/cog.toml
index 2f2b2ce..0756943 100644
--- a/rust/cog.toml
+++ b/templates/rust/cog.toml
@@ -4,18 +4,16 @@ ignore_merge_commits = false
 pre_package_bump_hooks = []
 post_package_bump_hooks = []
 
-branch_whitelist = [
-  "prime",
-]
+branch_whitelist = ["prime"]
 
 pre_bump_hooks = [
-    "nix build", # verify the project builds
-    "cargo set-version {{version}}",  # bump version in Cargo.toml
+  "nix build",                     # verify the project builds
+  "cargo set-version {{version}}", # bump version in Cargo.toml
 ]
 post_bump_hooks = [
-    "git push",
-    "cargo publish",
-    "git push origin v{{version}}", # push the new tag to origin
+  "git push",
+  "cargo publish",
+  "git push origin v{{version}}", # push the new tag to origin
 ]
 
 [commit_types]
diff --git a/rust/flake.nix b/templates/rust/flake.nix
index 4512bed..4512bed 100644
--- a/rust/flake.nix
+++ b/templates/rust/flake.nix
diff --git a/rust/update.sh b/templates/rust/update.sh
index 9268caf..9268caf 100755
--- a/rust/update.sh
+++ b/templates/rust/update.sh