50 lines
1.3 KiB
Plaintext
50 lines
1.3 KiB
Plaintext
# Install Node dependencies for repository tools.
|
|
npm-install: npm-install-mcp-bridge npm-install-trap-sandbox
|
|
|
|
# Install Node dependencies for the MCP bridge.
|
|
npm-install-mcp-bridge:
|
|
npm install --prefix tools/mcp-bridge
|
|
|
|
# Install Node dependencies for trap-sandbox.
|
|
npm-install-trap-sandbox:
|
|
npm install --prefix tools/trap-sandbox/
|
|
|
|
# Build Node-based repository tools.
|
|
npm-build: npm-build-mcp-bridge npm-build-trap-sandbox
|
|
|
|
npm-build-mcp-bridge:
|
|
npm run build --prefix tools/mcp-bridge
|
|
|
|
npm-build-trap-sandbox:
|
|
npm run build --prefix tools/trap-sandbox/
|
|
|
|
# Check Node-based repository tools.
|
|
npm-check: npm-check-mcp-bridge npm-check-trap-sandbox
|
|
|
|
npm-check-mcp-bridge:
|
|
npm run check --prefix tools/mcp-bridge
|
|
|
|
npm-check-trap-sandbox:
|
|
npm run check --prefix tools/trap-sandbox/
|
|
|
|
# Run Node-based tool tests.
|
|
npm-test: npm-test-mcp-bridge npm-test-trap-sandbox
|
|
|
|
npm-test-mcp-bridge:
|
|
npm test --prefix tools/mcp-bridge
|
|
|
|
npm-test-trap-sandbox:
|
|
npm test --prefix tools/trap-sandbox/
|
|
|
|
# Run Node-based tool integration tests.
|
|
npm-test-integration: npm-test-integration-mcp-bridge npm-test-integration-trap-sandbox
|
|
|
|
npm-test-integration-mcp-bridge:
|
|
npm run test:integration --prefix tools/mcp-bridge
|
|
|
|
npm-test-integration-trap-sandbox:
|
|
npm run test:integration --prefix tools/trap-sandbox/
|
|
|
|
# Build generated artifacts.
|
|
build: npm-build
|