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 # See https://pre-commit.com/hooks.html for more hooks
repos: repos:
- repo: https://github.com/tekwizely/pre-commit-golang - repo: https://github.com/tekwizely/pre-commit-golang
rev: master rev: v1.0.0-beta.4
hooks: hooks:
# #
# Go Build # Go Build

View File

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

View File

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

View File

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