Skip to content

Commit

Permalink
Merge pull request #1 from tkhq/rno/badge
Browse files Browse the repository at this point in the history
Fix tests and add badge to README

Former-commit-id: ede6f9d
  • Loading branch information
r-n-o authored Dec 10, 2022
2 parents ef39ab4 + 9eec583 commit 50b870b
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/go-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
with:
go-version: 1.19

- name: Build
run: go build -v ./...
- name: Build binary
run: make build/turnkey

- name: Test
run: go test -v ./...
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,6 @@
# Apple folder files
.DS_Store

# Dist folder
dist/
# Dist/build folder
dist/
build/
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
# Turnkey CLI

![Go Build Status](https://github.com/tkhq/tkcli/actions/workflows/go-build.yml/badge.svg)

## Building the CLI

If you simply want to build a binary locally, run
```sh
$ make build/turnkey
```

We use [GoReleaser](https://goreleaser.com/) to build and release our binaries.

To build locally:
To build a release locally:
```
$ goreleaser release --snapshot --rm-dist
```
Expand Down
1 change: 0 additions & 1 deletion build/.gitattributes

This file was deleted.

3 changes: 0 additions & 3 deletions build/turnkey

This file was deleted.

0 comments on commit 50b870b

Please sign in to comment.