Amorçage du projet

This commit is contained in:
2019-11-28 11:50:51 +01:00
commit 18f2dbf592
33 changed files with 8915 additions and 0 deletions

27
Makefile Normal file
View File

@ -0,0 +1,27 @@
build: vendor
go build -mod=vendor -v -o bin/server ./cmd/server
test:
go test -v -race ./...
release:
@./misc/script/release
vendor:
go mod vendor
tidy:
go mod tidy
watch:
modd
lint:
golangci-lint run --enable-all
clean:
rm -rf release
rm -rf vendor
rm -rf bin
.PHONY: lint watch build vendor tidy release