mirror of
https://github.com/ClementTsang/bottom
synced 2024-11-22 04:03:06 +00:00
chore: Add Cargo.lock back in
This commit is contained in:
parent
84571583c1
commit
502b821144
3 changed files with 1418 additions and 7 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -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 .;
|
||||
|
|
1417
Cargo.lock
generated
Normal file
1417
Cargo.lock
generated
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue