feat: update

This commit is contained in:
2023-04-28 17:08:59 +02:00
parent 8bbe60a8b0
commit beca1c0aaa
2 changed files with 4 additions and 3 deletions

1
.gitignore vendored
View File

@@ -3,3 +3,4 @@
examples/
/cachet-monitor
/cli
build

View File

@@ -205,6 +205,6 @@ We'll happily accept contributions for anything usefull.
1. Read and install with https://ahmadawais.com/install-go-lang-on-macos-with-homebrew/
2. Test in console with `go get -u` and `go build cli/main.go`
3. Run `CGO_ENABLED=1 go build cli/main.go && ./go-executable-build.sh cli/main.go`
4. This will create a `cli/main.go-linux-amd64`-file, which is the executable binary
5. `mv cli/main.go-linux-amd64 /usr/bin/cachet-monitor`
3. Run `./go-executable-build.sh cli/main.go`
4. This will create a `build/cli/main.go-linux-amd64`-file, which is the executable binary
5. `mv build/cli/main.go-linux-amd64 /usr/bin/cachet-monitor`