From 225238405a1652511d67e7847ec238623b7140ab Mon Sep 17 00:00:00 2001 From: Pegasust Date: Tue, 27 Dec 2022 19:42:06 -0700 Subject: [PATCH] rust-monorepo: .gitignore and bacon --- templates/rust-monorepo/.gitignore | 14 ++++++++++++++ templates/rust-monorepo/flake.nix | 1 + 2 files changed, 15 insertions(+) create mode 100644 templates/rust-monorepo/.gitignore diff --git a/templates/rust-monorepo/.gitignore b/templates/rust-monorepo/.gitignore new file mode 100644 index 0000000..6985cf1 --- /dev/null +++ b/templates/rust-monorepo/.gitignore @@ -0,0 +1,14 @@ +# Generated by Cargo +# will have compiled files and executables +debug/ +target/ + +# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries +# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html +Cargo.lock + +# These are backup files generated by rustfmt +**/*.rs.bk + +# MSVC Windows builds of rustc generate these, which store debugging information +*.pdb diff --git a/templates/rust-monorepo/flake.nix b/templates/rust-monorepo/flake.nix index e5f373e..bb75c40 100644 --- a/templates/rust-monorepo/flake.nix +++ b/templates/rust-monorepo/flake.nix @@ -25,6 +25,7 @@ } )) pkgs.rust-analyzer + pkgs.bacon # rust background code checker ]; RUST_SRC_PATH = rustPlatform.rustLibSrc; shellHook = ''