Explorar el Código

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
Jacob Bolda hace 5 años
padre
commit
7c0482f9a8
Se han modificado 1 ficheros con 1 adiciones y 4 borrados
  1. 1 4
      cli/tauri.js/templates/src-tauri/_gitignore

+ 1 - 4
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