Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,13 @@ build:
@echo "Building $(BINARY_NAME)..."
@mkdir -p $(BUILD_DIR)
go build -o $(BUILD_DIR)/$(BINARY_NAME) ./cmd/sqllexer
go build -o $(BUILD_DIR)/$(BINARY_NAME)v2 ./cmd/sqlprocessor

# Install the binary to GOPATH/bin
install: build
@echo "Installing $(BINARY_NAME)..."
cp $(BUILD_DIR)/$(BINARY_NAME) $(shell go env GOPATH)/bin/
cp $(BUILD_DIR)/$(BINARY_NAME)v2 $(shell go env GOPATH)/bin/

# Run tests
test:
Expand All @@ -43,4 +45,4 @@ help:
@echo " test - Run tests"
@echo " bench - Run benchmarks"
@echo " clean - Clean build artifacts"
@echo " help - Show this help message"
@echo " help - Show this help message"
Loading