Documentation Updates: - Enhanced AGENTS.md with user authentication details - Updated README.md with authentication API documentation - Added CONTRIBUTING.md guidelines for BDD testing - Version management guide improvements - Local CI/CD testing documentation Project Infrastructure: - Updated .gitignore for new file patterns - Enhanced git hooks documentation - YAML linting configuration - Script improvements and organization - Configuration management updates API Enhancements: - Greet service integration with authentication - Server middleware for JWT validation - Telemetry improvements - Version management utilities Generated by Mistral Vibe. Co-Authored-By: Mistral Vibe <vibe@mistral.ai>
33 lines
847 B
Bash
Executable File
33 lines
847 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# dance-lessons-coach Build Script
|
|
# Builds binaries into the bin/ directory
|
|
|
|
set -e
|
|
|
|
echo "🔨 Building dance-lessons-coach binaries..."
|
|
|
|
# Create bin directory if it doesn't exist
|
|
mkdir -p bin
|
|
|
|
# Build server binary
|
|
echo "📦 Building server..."
|
|
go build -o bin/server ./cmd/server
|
|
|
|
# Build greet CLI binary
|
|
echo "📦 Building greet CLI..."
|
|
go build -o bin/greet ./cmd/greet
|
|
|
|
# Build new Cobra CLI binary
|
|
echo "📦 Building Cobra CLI..."
|
|
go build -o bin/dance-lessons-coach ./cmd/cli
|
|
|
|
echo "✅ Build complete!"
|
|
echo " Server binary: ./bin/server"
|
|
echo " Greet binary: ./bin/greet"
|
|
echo " Cobra CLI binary: ./bin/dance-lessons-coach"
|
|
echo ""
|
|
echo "💡 To run the server: ./bin/server"
|
|
echo "💡 To use the greet CLI: ./bin/greet [name]"
|
|
echo "💡 To use the Cobra CLI: ./bin/dance-lessons-coach --help"
|