initial version of CLI
This commit is contained in:
parent
991739b1ea
commit
7643f37b73
4
.gitignore
vendored
Normal file
4
.gitignore
vendored
Normal file
@ -0,0 +1,4 @@
|
||||
bin/
|
||||
.env
|
||||
*_templ.go
|
||||
.idea/
|
23
Makefile
Normal file
23
Makefile
Normal file
@ -0,0 +1,23 @@
|
||||
.DEFAULT_GOAL := all
|
||||
|
||||
# seems superfluous
|
||||
#.PHONY: fmt vet build clean
|
||||
|
||||
fmt:
|
||||
go fmt ./...
|
||||
|
||||
vet: fmt
|
||||
go vet ./...
|
||||
|
||||
|
||||
build: vet
|
||||
mkdir -p bin
|
||||
go build -o bin ./cmd/...
|
||||
|
||||
test: build
|
||||
go test -count=1 -coverprofile=testout/coverage.out ${TESTFLAGS} ./...
|
||||
|
||||
clean:
|
||||
rm -rf bin
|
||||
|
||||
all: build
|
7
cmd/go2junit/go2junit.go
Normal file
7
cmd/go2junit/go2junit.go
Normal file
@ -0,0 +1,7 @@
|
||||
package main
|
||||
|
||||
import "fmt"
|
||||
|
||||
func main() {
|
||||
fmt.Println("Hello")
|
||||
}
|
Loading…
Reference in New Issue
Block a user