This commit is contained in:
Dev
2025-09-15 04:02:11 +03:00
commit fc86288f06
24 changed files with 2938 additions and 0 deletions

34
Makefile Normal file
View File

@@ -0,0 +1,34 @@
.PHONY: build run clean test deps
build:
go build -o gitblog main.go
run: build
./gitblog
clean:
rm -f gitblog
test:
go test ./...
deps:
go mod tidy
go mod download
dev:
go run main.go
install:
go install .
help:
@echo "Available commands:"
@echo " build - Build the application"
@echo " run - Build and run the application"
@echo " clean - Remove build artifacts"
@echo " test - Run tests"
@echo " deps - Download dependencies"
@echo " dev - Run in development mode"
@echo " install - Install the application"
@echo " help - Show this help message"