12 Commits

Author SHA1 Message Date
c7ebd6350e chore(release) v0.1.6
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is failing
2022-12-18 23:10:29 +01:00
d7d55d24f5 with proper name for version
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone Build is failing
2022-12-18 23:01:43 +01:00
6381c189cb correct binName
Some checks failed
continuous-integration/drone Build is failing
2022-12-18 22:54:52 +01:00
d0568e48ec with drone 2022-12-18 22:54:28 +01:00
f66a6c858d chore(release) with dependencies v0.1.5 2022-12-18 22:53:14 +01:00
267d546d2e chore(release) with dependencies 2022-12-18 22:49:48 +01:00
87c9c36f6c Add new dependencies 2022-12-18 22:48:29 +01:00
2f19707e94 chore(release) with updated version 2022-12-18 22:40:18 +01:00
a79d0ee6d4 chore(release) working on homebrew tap releaser 2022-12-18 22:30:16 +01:00
32ad2b3fd7 remove constraint 2022-12-18 22:29:18 +01:00
0a3a4d4f74 updated tag name 2022-12-18 22:28:04 +01:00
95f3254f81 chore(release) with updated version 2022-12-18 22:24:08 +01:00
6 changed files with 20 additions and 9 deletions

5
.drone.yml Normal file
View File

@@ -0,0 +1,5 @@
kind: template
load: bust_rustbin_default_template.yaml
name: toolkit
data:
binName: default

View File

@@ -12,7 +12,6 @@ jobs:
steps: steps:
- name: Release to homebrew tap - name: Release to homebrew tap
uses: Justintime50/homebrew-releaser@v1 uses: Justintime50/homebrew-releaser@v1
if: ${{ github.ref == 'refs/heads/main' && startsWith(github.event.head_commit.message, 'chore(release)') }}
with: with:
# The name of the homebrew tap to publish your formula to as it appears on GitHub. # The name of the homebrew tap to publish your formula to as it appears on GitHub.
# Required - strings. # Required - strings.
@@ -34,7 +33,13 @@ jobs:
# Custom dependencies in case other formulas are needed to build the current one. # Custom dependencies in case other formulas are needed to build the current one.
# Optional - multiline string. # Optional - multiline string.
#depends_on: | depends_on: |
fzf
gh
dust
bottom
procs
src-cli
# Custom install command for your formula. # Custom install command for your formula.
# Required - string. # Required - string.

View File

@@ -110,5 +110,5 @@ jobs:
*.deb *.deb
*.tar.gz *.tar.gz
*.zip *.zip
name: ${{ steps.get_version.outputs.value }} name: v${{ steps.get_version.outputs.value }}
tag_name: ${{ steps.get_version.outputs.value }} tag_name: v${{ steps.get_version.outputs.value }}

2
Cargo.lock generated
View File

@@ -316,7 +316,7 @@ dependencies = [
[[package]] [[package]]
name = "toolkit" name = "toolkit"
version = "0.1.1" version = "0.1.6"
dependencies = [ dependencies = [
"clap", "clap",
"eyre", "eyre",

View File

@@ -1,7 +1,7 @@
[package] [package]
name = "toolkit" name = "toolkit"
description = "Toolkit is an opinionated toolkit complementing a personal development workflow. Many of the commands are quite verbose, and well suited for adding to your shell toolbelt" description = "Toolkit is an opinionated toolkit complementing a personal development workflow. Many of the commands are quite verbose, and well suited for adding to your shell toolbelt"
version = "0.1.1" version = "0.1.6"
edition = "2021" edition = "2021"
license-file = "LICENSE" license-file = "LICENSE"
authors = ["Kasper J. Hermansen contact@kjuulh.io"] authors = ["Kasper J. Hermansen contact@kjuulh.io"]

View File

@@ -2,13 +2,14 @@ pub struct Perf;
impl Perf { impl Perf {
fn run() -> eyre::Result<()> { fn run() -> eyre::Result<()> {
if let Err(_) = util::shell::run_with_input_and_output(&["ytop", "--version"], "".into()) { if let Err(_) = util::shell::run_with_input_and_output(&["bottom", "--version"], "".into())
{
return Err(eyre::anyhow!( return Err(eyre::anyhow!(
"could not find ytop, please install or add to PATH" "could not find bottom, please install or add to PATH"
)); ));
} }
util::shell::run(&["ytop"], None)?; util::shell::run(&["bottom"], None)?;
Ok(()) Ok(())
} }