mirror of
https://github.com/ClementTsang/bottom.git
synced 2024-12-01 01:35:59 +03:00
parent
3252796f17
commit
397a7e8467
3
.gitignore
vendored
3
.gitignore
vendored
@ -13,3 +13,6 @@ rust-unmangle
|
||||
.idea/
|
||||
|
||||
sample_configs/testing.toml
|
||||
|
||||
# Wix
|
||||
/wix/
|
||||
|
11
.travis.yml
11
.travis.yml
@ -62,6 +62,12 @@ before_deploy:
|
||||
zip bottom_i686-pc-windows-msvc.zip "btm.exe";
|
||||
python "./deployment/windows/choco/choco_packager.py" "bottom_i686-pc-windows-msvc.zip" "bottom_x86_64-pc-windows-msvc.zip" $TRAVIS_TAG;
|
||||
zip choco.zip "./deployment/windows/choco/bottom.nuspec" "./deployment/windows/choco/tools/";
|
||||
choco install wixtoolset;
|
||||
cargo install cargo-wix;
|
||||
cargo wix init;
|
||||
cargo wix;
|
||||
cp "./target/wix/bottom*.msi" ./bottom_x86_64_installer.msi
|
||||
python "./deployment/packager.py" "./bottom_x86_64_installer.msi" $TRAVIS_TAG "./deployment/windows/winget/winget.yaml.template", "$TRAVIS_TAG.yaml" "SHA256";
|
||||
else
|
||||
cargo build --release;
|
||||
cp ./target/release/btm btm;
|
||||
@ -78,7 +84,6 @@ before_deploy:
|
||||
elif [[ $TRAVIS_OS_NAME == "osx" ]]; then
|
||||
tar -czvf bottom_x86_64-apple-darwin.tar.gz btm;
|
||||
python "./deployment/packager.py" "./bottom_x86_64-apple-darwin.tar.gz" $TRAVIS_TAG "./deployment/macos/homebrew/bottom.rb.template", "./bottom.rb" "SHA256";
|
||||
tar -czvf homebrew.tar.gz bottom.rb;
|
||||
fi
|
||||
fi
|
||||
|
||||
@ -93,8 +98,10 @@ deploy:
|
||||
- bottom_*.zip
|
||||
- bottom_*.deb
|
||||
- arch.tar.gz
|
||||
- homebrew.tar.gz
|
||||
- bottom.rb
|
||||
- choco.zip
|
||||
- bottom_x86_64_installer.msi
|
||||
- $TRAVIS_TAG.yaml
|
||||
skip_cleanup: true
|
||||
on:
|
||||
tags: true
|
||||
|
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@ -17,6 +17,7 @@
|
||||
"WASD",
|
||||
"Wojnarowski",
|
||||
"andys",
|
||||
"choco",
|
||||
"cmdline",
|
||||
"crossterm",
|
||||
"curr",
|
||||
@ -56,7 +57,9 @@
|
||||
"vsize",
|
||||
"whitespaces",
|
||||
"winapi",
|
||||
"winget",
|
||||
"winnt",
|
||||
"wixtoolset",
|
||||
"xzvf",
|
||||
"ytop"
|
||||
]
|
||||
|
@ -58,7 +58,7 @@ predicates = "1"
|
||||
cargo-husky = "1"
|
||||
|
||||
[package.metadata.deb]
|
||||
section = "utils"
|
||||
section = "utility"
|
||||
assets = [
|
||||
["target/release/btm", "usr/bin/", "755"],
|
||||
["LICENSE", "usr/share/doc/btm/", "644"],
|
||||
|
15
deployment/windows/winget/winget.yaml.template
Normal file
15
deployment/windows/winget/winget.yaml.template
Normal file
@ -0,0 +1,15 @@
|
||||
Id: Clement.bottom
|
||||
Version: $version
|
||||
Name: bottom
|
||||
Publisher: Clement
|
||||
License: MIT
|
||||
AppMoniker: bottom
|
||||
Tags: tui, monitoring, terminal
|
||||
Description: Yet another cross-platform graphical process/system monitor.
|
||||
Homepage: https://github.com/ClementTsang/bottom
|
||||
Installers:
|
||||
- Arch: x64
|
||||
Url: https://github.com/ClementTsang/bottom/releases/download/$version/bottom-$version-x86_64.msi
|
||||
Sha256: $hash
|
||||
InstallerType: msi
|
||||
|
Loading…
Reference in New Issue
Block a user