Skip to content

Commit a1777d2

Browse files
sergeyfdfacebook-github-bot
authored andcommitted
[antlir] Add feature.run as an alias for feature.genrule
Summary: **This diff** Adds a simple `run` alias for `genrule` in the Antlir features. **Why** Lots of people are used to `RUN` command in docker files that does the same as `genrule` in our case. Test Plan: reviewbylookingveryhard Reviewed By: vmagro Differential Revision: D83288955 fbshipit-source-id: 87babe8278cd0116747cdc13b678c51187cc5f0d
1 parent b4708f8 commit a1777d2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

antlir/antlir2/bzl/feature/defs.bzl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ feature = struct(
4343
rpms_remove = rpms_remove,
4444
rpms_remove_if_exists = rpms_remove_if_exists,
4545
rpms_upgrade = rpms_upgrade,
46+
run = genrule,
4647
dnf_module_enable = dnf_module_enable,
4748
ensure_file_symlink = ensure_file_symlink,
4849
ensure_dir_symlink = ensure_dir_symlink,

0 commit comments

Comments
 (0)