Skip to main content
Glama

clippy

by neilberkman
build-clib.sh627 B
#!/bin/bash set -e echo "Building clippy C library..." # Set macOS deployment target to match Swift package (14.0) export MACOSX_DEPLOYMENT_TARGET=14.0 # Build for macOS (darwin) on arm64 (Apple Silicon) CGO_ENABLED=1 GOOS=darwin GOARCH=arm64 go build \ -buildmode=c-archive \ -o gui/draggy/libclippy.a \ ./cbridge echo "✅ Built gui/draggy/libclippy.a and gui/draggy/libclippy.h" echo "" echo "To use in Xcode:" echo "1. The files are already in gui/draggy/" echo "2. Add them to your Xcode project" echo "3. Create a bridging header that imports libclippy.h" echo "4. Call the exported functions from Swift"

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/neilberkman/clippy'

If you have feedback or need assistance with the MCP directory API, please join our Discord server