Skip to main content
Glama
zip_file.bzl974 B
# Copyright (c) Meta Platforms, Inc. and affiliates. # # This source code is licensed under both the MIT license found in the # LICENSE-MIT file in the root directory of this source tree and the Apache # License, Version 2.0 found in the LICENSE-APACHE file in the root directory # of this source tree. load("@prelude//zip_file:zip_file_toolchain.bzl", "ZipFileToolchainInfo") def zip_file_toolchain(name, **kwargs): kwargs["create_zip"] = "prelude//toolchains/android/src/com/facebook/buck/features/zip/rules/utils:zip_binary" _zip_file_toolchain_rule( name = name, **kwargs ) def _zip_file_toolchain_rule_impl(ctx): return [ DefaultInfo(), ZipFileToolchainInfo( create_zip = ctx.attrs.create_zip[RunInfo], ), ] _zip_file_toolchain_rule = rule( attrs = { "create_zip": attrs.dep(providers = [RunInfo]), }, impl = _zip_file_toolchain_rule_impl, is_toolchain_rule = True, )

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