mirror of
https://github.com/ClementTsang/bottom.git
synced 2025-07-28 16:14:16 +02:00
ci: minor CI fixes for automatic deploys (#202)
Mainly missing some `cd` lines in AUR builds and clarifying the macOS config location.
This commit is contained in:
parent
9158c5f6d5
commit
027f8a8c32
@ -13,14 +13,17 @@ license=('MIT')
|
|||||||
sha512sums=('$hash1')
|
sha512sums=('$hash1')
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
cargo build --release --locked
|
cargo build --release --locked
|
||||||
}
|
}
|
||||||
|
|
||||||
check() {
|
check() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
cargo test --release --locked
|
cargo test --release --locked
|
||||||
}
|
}
|
||||||
|
|
||||||
package() {
|
package() {
|
||||||
|
cd $pkgname-$pkgver
|
||||||
install -Dm755 target/release/btm "$pkgdir/usr/bin/btm"
|
install -Dm755 target/release/btm "$pkgdir/usr/bin/btm"
|
||||||
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
|
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
|
||||||
}
|
}
|
@ -14,7 +14,7 @@ class Bottom < Formula
|
|||||||
bin.install "btm"
|
bin.install "btm"
|
||||||
ohai "You're done! Run with \"btm\""
|
ohai "You're done! Run with \"btm\""
|
||||||
ohai "For runtime flags, see \"btm --help\""
|
ohai "For runtime flags, see \"btm --help\""
|
||||||
ohai "If you want to configure bottom, by default bottom looks for a file in $HOME/.config/bottom/bottom.toml"
|
ohai "If you want to configure bottom, by default bottom looks for a file in $HOME/Library/Application Support/bottom.toml or $HOME/.config/bottom/bottom.toml"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user