cli/docs/examples/build-go-library.yaml
Snider 05de92148b docs(examples): add build-* configuration examples
Build configuration examples for testing and documentation:
- build-minimal.yaml - Auto-detect everything
- build-go-cli.yaml - Cross-platform CLI
- build-go-wails.yaml - Desktop app with frontend
- build-go-library.yaml - Library (no binary)
- build-docker.yaml - Multi-arch container
- build-docker-go.yaml - Go binary + Docker
- build-linuxkit.yaml - Immutable Linux images
- build-php-laravel.yaml - FrankenPHP + Laravel
- build-multi-binary.yaml - Multiple binaries
- build-full.yaml - All available options

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-29 00:45:17 +00:00

23 lines
353 B
YAML

# Example: Go Library Build Configuration
# No binary output, just validation and testing
version: 1
project:
name: mylib
type: library # No binary build
build:
# Library-specific settings
env:
CGO_ENABLED: "0"
# Test configuration
test:
race: true
cover: true
packages:
- ./...
# No targets needed for library
# targets: []