Codebase list rabbitmq-server / lintian-fixes/main elixir_home.bzl
lintian-fixes/main

Tree @lintian-fixes/main (Download .tar.gz)

elixir_home.bzl @lintian-fixes/mainraw · history · blame

ElixirHomeProvider = provider(
    fields = ["path"],
)

def _impl(ctx):
    return ElixirHomeProvider(path = ctx.build_setting_value)

elixir_home = rule(
    implementation = _impl,
    # The next line marks this as a special rule that we can
    # configure when invoking the cli or via .bazelrc file
    build_setting = config.string(flag = True),
)