mirror of
https://github.com/strukturag/nextcloud-spreed-signaling
synced 2024-05-02 22:03:09 +02:00
Format code using "gofmt".
This commit is contained in:
parent
8fd9c688b6
commit
7b631b0b2a
3
Makefile
3
Makefile
|
@ -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 .
|
||||
|
|
Loading…
Reference in a new issue