middlewares all now have the same signature
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
10
Makefile
10
Makefile
@@ -35,27 +35,23 @@ lint:
|
||||
golangci-lint run
|
||||
sh -c 'test -z "$$(gofmt -l .)"'
|
||||
|
||||
debug: build
|
||||
debug: ./$(FN)d
|
||||
DEBUG=1 GOTRACEBACK=all ./$(FN)d
|
||||
|
||||
debugger:
|
||||
cd cmd/$(FN)d && dlv debug main.go
|
||||
|
||||
run: build
|
||||
run: ./$(FN)d
|
||||
./$(FN)d
|
||||
|
||||
clean:
|
||||
-rm -f ./$(FN)d debug.log
|
||||
|
||||
build: ./$(FN)d
|
||||
|
||||
docker:
|
||||
docker build .
|
||||
|
||||
get:
|
||||
cd cmd/$(FN)d && go get -v
|
||||
|
||||
./$(FN)d: */*.go cmd/*/*.go get
|
||||
./$(FN)d: cmd/$(FN)d/main.go */*.go get
|
||||
cd cmd/$(FN)d && go build -o ../../$(FN)d $(GOFLAGS) .
|
||||
|
||||
.PHONY: build fmt test is_uncommitted docker dist hub upload-docker-image clean run rundebug default build-docker-image-dist
|
||||
|
||||
Reference in New Issue
Block a user