update few files

This commit is contained in:
Medzik 2021-09-07 20:45:10 +00:00
parent 6af384e731
commit e9d6197817
4 changed files with 4 additions and 7 deletions

View File

@ -2,7 +2,7 @@
# See https://pre-commit.com/hooks.html for more hooks
repos:
- repo: https://github.com/tekwizely/pre-commit-golang
rev: master
rev: v1.0.0-beta.4
hooks:
#
# Go Build

View File

@ -6,9 +6,6 @@ build:
snapshot:
goreleaser --snapshot --rm-dist
run:
go run .
clean:
go clean
rm -rf pingbot* dist/

View File

@ -1,6 +1,6 @@
{
"watch": ["*"],
"ext": "go toml sh",
"ext": "go toml",
"signal": "SIGTERM",
"quiet": true,
"exec": "clear && bash nodemon.sh"

View File

@ -15,8 +15,8 @@ chmod +x pingbot.out
printf "${nc}[${red}END${nc}]\n"
# Wait 5 seconds
sleep 5
# Wait 2 seconds
sleep 2
# Loop start e.g. on update => restart
bash start.sh