readme command line usage - to specify pipeline file name readme updated to include reasoning behind the project use native golang sqlite RunScriptCommand named in functionMap removed unused functions removed unused functions run script and pipeline example renamed functions to drop the word script and add pipeline verb
17 lines
No EOL
548 B
Bash
Executable file
17 lines
No EOL
548 B
Bash
Executable file
#!/bin/bash
|
|
|
|
mkdir -p bin
|
|
|
|
echo "Building for Linux..."
|
|
GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o bin/infctl-linux-amd64
|
|
|
|
echo "Building for Windows..."
|
|
GOOS=windows GOARCH=amd64 go build -ldflags="-s -w" -o bin/infctl-windows-amd64.exe
|
|
|
|
echo "Building for macOS (Intel)..."
|
|
GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w" -o bin/infctl-darwin-amd64
|
|
|
|
echo "Building for macOS (Apple Silicon)..."
|
|
GOOS=darwin GOARCH=arm64 go build -ldflags="-s -w" -o bin/infctl-darwin-arm64
|
|
|
|
echo "Build complete. Binaries are in the 'bin' directory." |