mirror of
https://github.com/strukturag/nextcloud-spreed-signaling.git
synced 2023-10-21 07:33:40 -05:00
Format code using "gofmt".
This commit is contained in:
@@ -2,6 +2,7 @@ all: build
|
||||
|
||||
GO := $(shell which go)
|
||||
GOPATH := "$(CURDIR)/vendor:$(CURDIR)"
|
||||
GOFMT := "$(shell dirname "$(GO)")/gofmt"
|
||||
GOOS ?= linux
|
||||
GOARCH ?= amd64
|
||||
BINDIR := "$(CURDIR)/bin"
|
||||
@@ -64,7 +65,7 @@ get:
|
||||
GOPATH=$(GOPATH) $(GO) get $(PACKAGE)
|
||||
|
||||
fmt: hook
|
||||
$(GO) fmt .
|
||||
$(GOFMT) -s -w *.go client proxy server
|
||||
|
||||
vet: common
|
||||
$(GO) vet .
|
||||
|
||||
Reference in New Issue
Block a user