A rust template
This commit is contained in:
47
rust-tmpl/manifest.toml
Normal file
47
rust-tmpl/manifest.toml
Normal file
@@ -0,0 +1,47 @@
|
||||
[parameters.name]
|
||||
description = "The name of the project"
|
||||
default = "{{ name }}"
|
||||
|
||||
[[commands]]
|
||||
command = "git"
|
||||
args = ["init"]
|
||||
|
||||
[[commands]]
|
||||
command = "git"
|
||||
args = ["add", "."]
|
||||
|
||||
[[commands]]
|
||||
command = "nix"
|
||||
args = ["flake", "update"]
|
||||
|
||||
[[commands]]
|
||||
command = "direnv"
|
||||
args = ["allow"]
|
||||
|
||||
[[commands]]
|
||||
command = "nix"
|
||||
args = ["develop", "--command", "cargo", "update"]
|
||||
|
||||
[[commands]]
|
||||
command = "git"
|
||||
args = ["commit", "-am", "Initial Commit"]
|
||||
|
||||
|
||||
[files."Cargo.toml"]
|
||||
|
||||
[files.".envrc"]
|
||||
|
||||
[files."flake.lock"]
|
||||
|
||||
[files."manifest.toml"]
|
||||
|
||||
[files."toolchain.toml"]
|
||||
|
||||
[files."Cargo.lock"]
|
||||
|
||||
[files.".gitignore"]
|
||||
|
||||
[files."flake.nix"]
|
||||
|
||||
[files."src/main.rs"]
|
||||
|
||||
Reference in New Issue
Block a user