mirror of https://github.com/maxcnunes/gaper.git
Configure releaser
This commit is contained in:
parent
d6093dc9ea
commit
1107ded5c8
|
@ -0,0 +1,11 @@
|
||||||
|
builds:
|
||||||
|
- main: main.go
|
||||||
|
binary: gaper
|
||||||
|
goos:
|
||||||
|
- windows
|
||||||
|
- darwin
|
||||||
|
- linux
|
||||||
|
goarch:
|
||||||
|
- amd64
|
||||||
|
env:
|
||||||
|
- CGO_ENABLED=0
|
|
@ -18,3 +18,10 @@ after_success:
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
|
|
||||||
|
deploy:
|
||||||
|
- provider: script
|
||||||
|
skip_cleanup: true
|
||||||
|
script: curl -sL http://git.io/goreleaser | bash
|
||||||
|
on:
|
||||||
|
tags: true
|
||||||
|
|
|
@ -7,6 +7,7 @@ gaper
|
||||||
[![Coverage Status](https://codecov.io/gh/maxcnunes/gaper/branch/master/graph/badge.svg)](https://codecov.io/gh/maxcnunes/gaper)
|
[![Coverage Status](https://codecov.io/gh/maxcnunes/gaper/branch/master/graph/badge.svg)](https://codecov.io/gh/maxcnunes/gaper)
|
||||||
[![Go Doc](https://img.shields.io/badge/godoc-reference-blue.svg?style=flat-square)](http://godoc.org/github.com/maxcnunes/gaper)
|
[![Go Doc](https://img.shields.io/badge/godoc-reference-blue.svg?style=flat-square)](http://godoc.org/github.com/maxcnunes/gaper)
|
||||||
[![Go Report Card](https://goreportcard.com/badge/github.com/maxcnunes/gaper)](https://goreportcard.com/report/github.com/maxcnunes/gaper)
|
[![Go Report Card](https://goreportcard.com/badge/github.com/maxcnunes/gaper)](https://goreportcard.com/report/github.com/maxcnunes/gaper)
|
||||||
|
[![Powered By: GoReleaser](https://img.shields.io/badge/powered%20by-goreleaser-green.svg?style=flat-square)](https://github.com/goreleaser)
|
||||||
|
|
||||||
Restarts programs when they crash or a watched file changes.
|
Restarts programs when they crash or a watched file changes.
|
||||||
|
|
||||||
|
|
|
@ -64,7 +64,7 @@ func (r *runner) Run() (*exec.Cmd, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Kill the current process running for the Golang project
|
// Kill the current process running for the Golang project
|
||||||
func (r *runner) Kill() error {
|
func (r *runner) Kill() error { // nolint gocyclo
|
||||||
if r.command == nil || r.command.Process == nil {
|
if r.command == nil || r.command.Process == nil {
|
||||||
return nil
|
return nil
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue