mirror of
https://github.com/samsonjs/Peekaboo.git
synced 2026-03-25 09:25:47 +00:00
18 lines
No EOL
375 B
Bash
Executable file
18 lines
No EOL
375 B
Bash
Executable file
#!/bin/bash
|
|
set -e
|
|
|
|
echo "Building Swift CLI..."
|
|
|
|
# Change to swift-cli directory
|
|
cd "$(dirname "$0")/../swift-cli"
|
|
|
|
# Build the Swift CLI in release mode
|
|
swift build --configuration release
|
|
|
|
# Copy the binary to the root directory
|
|
cp .build/release/peekaboo ../peekaboo
|
|
|
|
# Make it executable
|
|
chmod +x ../peekaboo
|
|
|
|
echo "Swift CLI built successfully and copied to ./peekaboo" |