添加构建脚本

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
kingecg 2026-03-20 21:12:45 +08:00
parent 8a258d8b60
commit 3fdc475316
1 changed files with 14 additions and 0 deletions

14
examples/build.sh Executable file
View File

@ -0,0 +1,14 @@
#!/bin/bash
set -e
echo "Building goffmpeg examples..."
cd "$(dirname "$0")"
# Build simple-transcode example
echo "Building simple-transcode..."
go build -o bin/simple-transcode ./simple-transcode
echo ""
echo "Build complete!"
echo "Run with: ./bin/simple-transcode <input> <output>"