mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-30 00:21:16 +00:00
19 lines
437 B
Makefile
19 lines
437 B
Makefile
default: lint test
|
|
|
|
lint:
|
|
golangci-lint run --timeout=5m
|
|
|
|
publish:
|
|
curl -sSLo golang.sh https://raw.githubusercontent.com/Luzifer/github-publish/master/golang.sh
|
|
bash golang.sh
|
|
|
|
test:
|
|
go test -cover -v ./...
|
|
|
|
# --- Wiki Updates
|
|
|
|
pull_wiki:
|
|
git subtree pull --prefix=wiki https://github.com/Luzifer/twitch-bot.wiki.git master --squash
|
|
|
|
push_wiki:
|
|
git subtree push --prefix=wiki https://github.com/Luzifer/twitch-bot.wiki.git master
|