BINARY_NAME=godb

run:
	@go run cmd/godb/main.go

build:
	@go build -o tmp/${BINARY_NAME} cmd/godb/main.go

start:
	@./tmp/${BINARY_NAME}

test-unit: 
	@go test ./internals/... -v

test-inte: 
	@go test ./tests/... -v

test: build test-unit test-inte

clean:
	@go clean
	@rm -rf ${BINARY_NAME}

reset: clean build test clean

.PHONY: clean build test
