diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2020-08-25 19:06:12 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-25 19:06:12 -0400 |
commit | 027f8a8c3241f3918d28003f42dfbb239f6a35df (patch) | |
tree | d679945fc03e865475aac2b0a1c34799affd019a /deployment | |
parent | 9158c5f6d52a524851e033b0a3fdf6ffb3148af2 (diff) |
ci: minor CI fixes for automatic deploys (#202)
Mainly missing some `cd` lines in AUR builds and clarifying the macOS config location.
Diffstat (limited to 'deployment')
-rw-r--r-- | deployment/linux/arch/PKGBUILD.template | 3 | ||||
-rw-r--r-- | deployment/macos/homebrew/bottom.rb.template | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/deployment/linux/arch/PKGBUILD.template b/deployment/linux/arch/PKGBUILD.template index 0519e734..583209ae 100644 --- a/deployment/linux/arch/PKGBUILD.template +++ b/deployment/linux/arch/PKGBUILD.template @@ -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" }
\ No newline at end of file diff --git a/deployment/macos/homebrew/bottom.rb.template b/deployment/macos/homebrew/bottom.rb.template index 65b6f896..451905cf 100644 --- a/deployment/macos/homebrew/bottom.rb.template +++ b/deployment/macos/homebrew/bottom.rb.template @@ -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
\ No newline at end of file |