소스 검색

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 5 년 전
부모
커밋
7c0482f9a8
1개의 변경된 파일1개의 추가작업 그리고 4개의 파일을 삭제
  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