chore: Add Cargo.lock back in

This commit is contained in:
ClementTsang 2020-04-08 19:44:29 -04:00
parent 84571583c1
commit 502b821144
3 changed files with 1418 additions and 7 deletions

4
.gitignore vendored
View file

@ -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

View file

@ -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 .;

1417
Cargo.lock generated Normal file

File diff suppressed because it is too large Load diff