fix Makefile, run gofmt on the all go files

This commit is contained in:
z7zmey
2018-02-19 13:00:58 +02:00
parent 757f57c223
commit 014b0576d6
22 changed files with 67 additions and 78 deletions

View File

@@ -3,7 +3,7 @@ PHPFILE=example.php
all: compile run
build:
gofmt -l -s -w **/*.go
find . -type f -iregex '.*\.go' -exec gofmt -l -s -w '{}' +
go build
run: build