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')
|
||||
|
||||
build() {
|
||||
cd $pkgname-$pkgver
|
||||
cargo build --release --locked
|
||||
}
|
||||
|
||||
check() {
|
||||
cd $pkgname-$pkgver
|
||||
cargo test --release --locked
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $pkgname-$pkgver
|
||||
install -Dm755 target/release/btm "$pkgdir/usr/bin/btm"
|
||||
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
|
||||
}
|
|
@ -14,7 +14,7 @@ class Bottom < Formula
|
|||
bin.install "btm"
|
||||
ohai "You're done! Run with \"btm\""
|
||||
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
|
||||
|
Loading…
Reference in New Issue