Created
March 29, 2017 16:48
-
-
Save kchodorow/61c77f1855711b8ddd852e96e14d053d to your computer and use it in GitHub Desktop.
Simple rule example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
load('//bazel:my-first-rule.bzl', 'my_rule') | |
my_rule(name = 'whatever') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def _impl(ctx): | |
pass | |
my_rule = rule( | |
implementation = _impl, | |
) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment