mcp-rust 0.1.0

Cymbal Rust Backend with MCP support
# Makefile for the Rust project

# Variables
SERVICE_NAME := mcp-rust
REGION := us-central1

.PHONY: all build run clean release test fmt clippy deploy help

# The default target
all: build

# Build the project for development
build:
	@echo "Building the Rust project..."
	@cargo build

# Run the project
run:
	@echo "Running the Rust project..."
	@cargo run

# Clean the project
clean:
	@echo "Cleaning the project..."
	@cargo clean

# Build the project for release
release:
	@echo "Building Release..."
	@cargo build --release

# Run tests
test:
	@echo "Running tests..."
	@cargo test

# Format the code
fmt:
	@echo "Formatting code..."
	@cargo fmt --all -- --check

# Lint the code
clippy:
	@echo "Linting code..."
	@cargo clippy -- -D warnings

# Submit the build to Google Cloud Build
deploy:
	@echo "Submitting build to Google Cloud Build..."
	@gcloud builds submit . --config cloudbuild.yaml 

help:
	@echo "Makefile for the Rust project"
	@echo ""
	@echo "Usage:"
	@echo "    make <target>"
	@echo ""
	@echo "Targets:"
	@echo "    all        (default) same as 'build'"
	@echo "    build      Build the project for development"
	@echo "    run        Run the project"
	@echo "    clean      Clean the project"
	@echo "    release    Build the project for release"
	@echo "    test       Run tests"
	@echo "    fmt        Check formatting"
	@echo "    clippy     Lint the code"
	@echo "    deploy     Submit the build to Google Cloud Build"