Skip to content

Commit

Permalink
goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
caarlos0 committed Dec 29, 2016
1 parent 93c0387 commit d4a7b13
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 3 deletions.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,13 @@ hours later (and automate the sending of the report too).
To run it, you can simply `./am-i-working watch --domain mycompany > work.log`,
or create a service in the OS level to keep it running forever.

## Install

```console
brew tap caarlos0/formulae
brew install twatcher
```

### macOS Service

To set it up as a macOS service, just tun:
Expand Down
4 changes: 1 addition & 3 deletions circle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@ deployment:
release:
tag: /v[0-9]+(\.[0-9]+)*/
commands:
- curl -o /tmp/release https://raw.githubusercontent.com/caarlos0/go-releaser/master/release
- chmod +x /tmp/release
- cd "$APP_PATH" && /tmp/release --user caarlos0 --repo am-i-working --binary am-i-working --main cmd/main.go
- curl -s https://raw.githubusercontent.com/goreleaser/get/master/latest | bash
dependencies:
override:
- sudo add-apt-repository ppa:masterminds/glide -y
Expand Down
4 changes: 4 additions & 0 deletions goreleaser.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
repo: caarlos0/am-i-working
binary_name: am-i-working
brew:
repo: caarlos0/homebrew-formulae

0 comments on commit d4a7b13

Please sign in to comment.