initial version of CLI

This commit is contained in:
2024-11-20 18:47:02 +01:00
parent 991739b1ea
commit 7643f37b73
4 changed files with 37 additions and 0 deletions
+4
View File
@@ -0,0 +1,4 @@
bin/
.env
*_templ.go
.idea/
+23
View 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
View File
@@ -0,0 +1,7 @@
package main
import "fmt"
func main() {
fmt.Println("Hello")
}
+3
View File
@@ -0,0 +1,3 @@
module git.wamblee.org/public/gotools
go 1.23.3