chore: re-enable local mcp builds (#475)

* bump rmcp version

* uncomment mcp from local build script; bump rmcp crate version
This commit is contained in:
Gabriel Gordon-Hall
2025-08-15 10:24:51 +01:00
committed by GitHub
parent 1cc551bbf3
commit e9882b23b9
6 changed files with 32 additions and 22 deletions

33
local-build.sh Executable file
View File

@@ -0,0 +1,33 @@
#!/bin/bash
set -e # Exit on any error
echo "🧹 Cleaning previous builds..."
rm -rf npx-cli/dist
mkdir -p npx-cli/dist/macos-arm64
echo "🔨 Building frontend..."
(cd frontend && npm run build)
echo "🔨 Building Rust binaries..."
cargo build --release --manifest-path Cargo.toml
cargo build --release --bin mcp_task_server --manifest-path Cargo.toml
echo "📦 Creating distribution package..."
# Copy the main binary
cp target/release/server vibe-kanban
zip -q vibe-kanban.zip vibe-kanban
rm -f vibe-kanban
mv vibe-kanban.zip npx-cli/dist/macos-arm64/vibe-kanban.zip
# Copy the MCP binary
cp target/release/mcp_task_server vibe-kanban-mcp
zip -q vibe-kanban-mcp.zip vibe-kanban-mcp
rm -f vibe-kanban-mcp
mv vibe-kanban-mcp.zip npx-cli/dist/macos-arm64/vibe-kanban-mcp.zip
echo "✅ NPM package ready!"
echo "📁 Files created:"
echo " - npx-cli/dist/macos-arm64/vibe-kanban.zip"
echo " - npx-cli/dist/macos-arm64/vibe-kanban-mcp.zip"