From 7c0482f9a8fcb35844895aea5068acf192e1aec7 Mon Sep 17 00:00:00 2001 From: Jacob Bolda Date: Sat, 22 Feb 2020 10:51:14 -0600 Subject: [PATCH] fix(tauri.js/template): don't ignore lock file, add WixTools (#451) As noted in the comment that was deleted, we should commit the Cargo.lock when creating an executable. This is the template that is copied into the consumer so I think we can safely assume that they will be creating an executable. Also adding `WixTools` which is created on Windows builds, similar to the `/target/` dir --- cli/tauri.js/templates/src-tauri/_gitignore | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cli/tauri.js/templates/src-tauri/_gitignore b/cli/tauri.js/templates/src-tauri/_gitignore index 7edd4be3f..5dae1ee09 100755 --- a/cli/tauri.js/templates/src-tauri/_gitignore +++ b/cli/tauri.js/templates/src-tauri/_gitignore @@ -1,10 +1,7 @@ # Generated by Cargo # will have compiled files and executables /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 +WixTools # These are backup files generated by rustfmt **/*.rs.bk