initial structure

This commit is contained in:
2023-10-14 14:03:32 +02:00
parent 69e151039e
commit 65eec9a2f6
14 changed files with 38 additions and 0 deletions

21
Makefile Normal file
View File

@@ -0,0 +1,21 @@
BUILD_TARGET = ./bin/
GITW = ./cmd/gitw
all: clean test build
run: run-gitw
run-gitw:
go run $(GITW)
clean:
go clean
rm -rf $(BUILD_TARGET)
test:
go test ./...
build: build-gitw
build-gitw:
go build -ldflags "-s -w" -o $(BUILD_TARGET)gitw $(GITW)