feat: added a makefile and switched to a more idiomatic structure

This commit is contained in:
2026-07-19 20:37:26 +05:30
parent c3016be8e9
commit df75480238
2 changed files with 18 additions and 0 deletions
View File
+18
View File
@@ -0,0 +1,18 @@
BINARY_NAME=godb
run:
@go run cmd/godb/main.go
build:
@go build -o ${BINARY_NAME} cmd/godb/main.go
start:
@./${BINARY_NAME}
clean:
@go clean
@rm -rf ${BINARY_NAME}
reset: clean build
.PHONY: clean build