This repository has been archived on 2025-10-30. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
gitwarrior/Makefile

22 lines
257 B
Makefile

BUILD_TARGET = ./bin/
GITW = main.go
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)