Compare commits

...

7 Commits

Author SHA1 Message Date
kolaente 4b7514fd67
fix drone config 2018-12-28 23:24:04 +01:00
kolaente 55bb1c44ed
update todo 2018-12-28 23:23:42 +01:00
kolaente 6b9366ba66
Add swagger check 2018-12-28 23:22:32 +01:00
kolaente 45bee24573
update 2018-12-28 23:16:16 +01:00
kolaente 937d3ca2ca
Merge branch 'master' into feature/check-swagger
# Conflicts:
#	docs/docs.go
2018-12-28 23:16:03 +01:00
kolaente 5b42643998
diff 2018-12-22 16:44:25 +01:00
kolaente a5a7af7223
diff 2018-12-22 16:43:43 +01:00
4 changed files with 6 additions and 1 deletions

View File

@ -29,6 +29,7 @@ pipeline:
- make ineffassign-check
- make misspell-check
- make goconst-check
- make got-swag
- make build
when:
event: [ push, tag, pull_request ]

View File

@ -127,6 +127,7 @@ Sorry for some of them being in German, I'll tranlate them at some point.
### Linters
* [x] Swaggo check
* [x] goconst
* [ ] Gosimple -> waiting for mod
* [ ] Staticcheck -> waiting for mod

View File

@ -148,6 +148,9 @@ release-os-package:
release-zip:
$(foreach file,$(wildcard $(DIST)/release/$(EXECUTABLE)-*),cd $(file); zip -r ../../zip/$(shell basename $(file)).zip *; cd ../../../; )
# @diff=$(shell diff <(git diff -G '\/\/ [0-9]{4}(-[0-9]{2}){2} ([0-9]{2}:?){3}.[0-9]+.*' docs/docs.go) <(git diff docs/docs.go)); \
.PHONY: got-swag
got-swag: do-the-swag
@diff=$$(git diff docs/swagger/swagger.json); \

View File

@ -1,6 +1,6 @@
// GENERATED BY THE COMMAND ABOVE; DO NOT EDIT
// This file was generated by swaggo/swag at
// 2018-12-28 01:18:16.824999107 +0100 CET m=+0.098072896
// 2018-12-28 23:22:08.13495648 +0100 CET m=+0.070544686
package docs