Skip to main content
Glama
buck2-all-rust-targets.sh575 B
#!/usr/bin/env bash if [ -z "$1" ] || [ "$1" = "-h" ] || [ "$1" = "--help" ] || [ "$1" = "help" ]; then echo "============================================================================" echo "Provide the buck2 command to run for all Rust targets in the repository." echo "You can also provide the mode, flags, and more (e.g. 'build @//mode/debug')." echo "============================================================================" exit 1 fi set -euxo pipefail buck2 uquery 'kind("rust_(binary|library|test)", set("//bin/..." "//lib/..."))' | xargs buck2 "$@"

Latest Blog Posts

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/systeminit/si'

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