Skip to content

Commit

Permalink
updated readme and test
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Svihla committed Mar 15, 2021
1 parent 80fe31e commit 137f8b3
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,20 @@ Apache 2.0 licensed Astra Cloud Management CLI

- Alpha

## How to install
## How to install - Homebrew for Mac and Linux

* [install homebrew](https://brew.sh/) if you have not
* `brew tap rsds143/astra-cli`
* `brew install astra-cli`

## How to install - Release Binaries

* download a [release](https://github.com/rsds143/astra-cli/releases)
* tar zxvf <download>
* cd <extracted folder>
* ./astra-cli

## How to build
## How to install - From Source

* Install [Go 1.16](https://golang.org/dl/)
* run `git clone [email protected]:rsds143/astra-cli.git`
Expand Down
8 changes: 7 additions & 1 deletion script/test
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,11 @@

t="/tmp/go-cover.$$.tmp"
go test -coverprofile=$t ./... && go tool cover -func=$t
echo "deleting tmp file $t"
last=$?
unlink $t || true
if [ "$last" = "0" ]; then
echo "successfully ran"
else
(exit 1)
fi

0 comments on commit 137f8b3

Please sign in to comment.