22 lines
381 B
Makefile
22 lines
381 B
Makefile
.PHONY: build test clean install
|
|
|
|
build:
|
|
@echo "Building aevs..."
|
|
@mkdir -p bin
|
|
@go build -o bin/aevs ./cmd/aevs
|
|
@echo "✓ Built bin/aevs"
|
|
|
|
test:
|
|
@echo "Running tests..."
|
|
@go test ./...
|
|
|
|
clean:
|
|
@echo "Cleaning..."
|
|
@rm -rf bin/
|
|
@echo "✓ Cleaned"
|
|
|
|
install: build
|
|
@echo "Installing aevs..."
|
|
@cp bin/aevs /usr/local/bin/aevs
|
|
@echo "✓ Installed to /usr/local/bin/aevs"
|