chore: Add Cargo.lock back in
This commit is contained in:
parent
84571583c1
commit
502b821144
|
@ -2,10 +2,6 @@
|
|||
# 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
|
||||
|
||||
# These are backup files generated by rustfmt
|
||||
**/*.rs.bk
|
||||
|
||||
|
|
|
@ -28,10 +28,8 @@ before_install:
|
|||
before_script:
|
||||
- rustup target add $TARGET
|
||||
- rustup component add clippy
|
||||
#- rustup component add rustfmt
|
||||
script:
|
||||
- cargo clippy -- -D clippy::all
|
||||
#- cargo fmt -- --check
|
||||
- cargo build --verbose --target $TARGET
|
||||
- cargo test --verbose --target $TARGET
|
||||
|
||||
|
@ -70,7 +68,7 @@ before_deploy:
|
|||
strip btm;
|
||||
if [[ $TRAVIS_OS_NAME == "linux" ]]; then
|
||||
tar -czvf bottom_x86_64-unknown-linux-gnu.tar.gz btm;
|
||||
tar -czvf bottom_required_files.tar.gz ./src ./Cargo.toml LICENSE README.md;
|
||||
tar -czvf bottom_required_files.tar.gz ./src ./Cargo.toml ./Cargo.lock LICENSE README.md;
|
||||
cargo install cargo-deb;
|
||||
cargo deb;
|
||||
cp ./target/debian/bottom_*.deb .;
|
||||
|
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue