mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-25 22:55:06 +02:00
parent
3252796f17
commit
397a7e8467
3
.gitignore
vendored
3
.gitignore
vendored
@ -13,3 +13,6 @@ rust-unmangle
|
|||||||
.idea/
|
.idea/
|
||||||
|
|
||||||
sample_configs/testing.toml
|
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";
|
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;
|
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/";
|
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
|
else
|
||||||
cargo build --release;
|
cargo build --release;
|
||||||
cp ./target/release/btm btm;
|
cp ./target/release/btm btm;
|
||||||
@ -78,7 +84,6 @@ before_deploy:
|
|||||||
elif [[ $TRAVIS_OS_NAME == "osx" ]]; then
|
elif [[ $TRAVIS_OS_NAME == "osx" ]]; then
|
||||||
tar -czvf bottom_x86_64-apple-darwin.tar.gz btm;
|
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";
|
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
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -93,8 +98,10 @@ deploy:
|
|||||||
- bottom_*.zip
|
- bottom_*.zip
|
||||||
- bottom_*.deb
|
- bottom_*.deb
|
||||||
- arch.tar.gz
|
- arch.tar.gz
|
||||||
- homebrew.tar.gz
|
- bottom.rb
|
||||||
- choco.zip
|
- choco.zip
|
||||||
|
- bottom_x86_64_installer.msi
|
||||||
|
- $TRAVIS_TAG.yaml
|
||||||
skip_cleanup: true
|
skip_cleanup: true
|
||||||
on:
|
on:
|
||||||
tags: true
|
tags: true
|
||||||
|
3
.vscode/settings.json
vendored
3
.vscode/settings.json
vendored
@ -17,6 +17,7 @@
|
|||||||
"WASD",
|
"WASD",
|
||||||
"Wojnarowski",
|
"Wojnarowski",
|
||||||
"andys",
|
"andys",
|
||||||
|
"choco",
|
||||||
"cmdline",
|
"cmdline",
|
||||||
"crossterm",
|
"crossterm",
|
||||||
"curr",
|
"curr",
|
||||||
@ -56,7 +57,9 @@
|
|||||||
"vsize",
|
"vsize",
|
||||||
"whitespaces",
|
"whitespaces",
|
||||||
"winapi",
|
"winapi",
|
||||||
|
"winget",
|
||||||
"winnt",
|
"winnt",
|
||||||
|
"wixtoolset",
|
||||||
"xzvf",
|
"xzvf",
|
||||||
"ytop"
|
"ytop"
|
||||||
]
|
]
|
||||||
|
@ -58,7 +58,7 @@ predicates = "1"
|
|||||||
cargo-husky = "1"
|
cargo-husky = "1"
|
||||||
|
|
||||||
[package.metadata.deb]
|
[package.metadata.deb]
|
||||||
section = "utils"
|
section = "utility"
|
||||||
assets = [
|
assets = [
|
||||||
["target/release/btm", "usr/bin/", "755"],
|
["target/release/btm", "usr/bin/", "755"],
|
||||||
["LICENSE", "usr/share/doc/btm/", "644"],
|
["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…
x
Reference in New Issue
Block a user