Skip to content

Commit

Permalink
chore: Add Cargo.lock back in
Browse files Browse the repository at this point in the history
  • Loading branch information
ClementTsang committed Apr 8, 2020
1 parent 8457158 commit 502b821
Show file tree
Hide file tree
Showing 3 changed files with 1,418 additions and 7 deletions.
4 changes: 0 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 1 addition & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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 .;
Expand Down
Loading

0 comments on commit 502b821

Please sign in to comment.