Codebase list rabbitmq-server / 964e3306-b403-440d-b57a-a0c92cd7a930/main elixir_home.bzl
964e3306-b403-440d-b57a-a0c92cd7a930/main

Tree @964e3306-b403-440d-b57a-a0c92cd7a930/main (Download .tar.gz)

elixir_home.bzl @964e3306-b403-440d-b57a-a0c92cd7a930/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),
)