refactor: complete rewrite #17

Merged
Aire-One merged 5 commits from refactor/complete-rewrite into main 2024-09-23 23:55:44 +02:00
3 changed files with 27 additions and 0 deletions
Showing only changes of commit 176926f864 - Show all commits

View File

@ -1,6 +1,8 @@
.vscode
.woodpecker
build
configs
.*

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/build

24
Makefile Normal file
View File

@ -0,0 +1,24 @@
BINARY_NAME=labtime
.PHONY: all
all: lint test build
.PHONY: clean
clean:
go clean -i ./...
rm -rf build
.PHONY: lint
lint:
@echo "Running golangci-lint"
golangci-lint run
.PHONY: test
test:
@echo "Running tests"
go test -v ./...
.PHONY: build
build:
@echo "Building binary"
go build -o build/$(BINARY_NAME) cmd/labtime/main.go