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:
Clement Tsang 2020-08-25 19:06:12 -04:00 committed by GitHub
parent 9158c5f6d5
commit 027f8a8c32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -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"
}

View File

@ -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