diff --git a/Makefile b/Makefile index 6d9d59a..ea0e653 100644 --- a/Makefile +++ b/Makefile @@ -6,7 +6,7 @@ test: go test ./... build/go-junit-report build/go-junit-report.exe: clean - go build --ldflags "-s -X main.Version=$(VERSION) -X main.Revision=$(REVISION) -X main.BuildTime=$(TIMESTAMP)" -o $@ + go build --ldflags "-s -X main.Version=$(VERSION) -X main.Revision=$(REVISION) -X main.BuildTime=$(TIMESTAMP)" -o $@ ./cmd/go-junit-report build/go-junit-report-$(VERSION)-$(GOOS)-$(GOARCH).tar.gz: build/go-junit-report tar czf $@ -C build go-junit-report diff --git a/main.go b/cmd/go-junit-report/main.go similarity index 100% rename from main.go rename to cmd/go-junit-report/main.go