urbdyn / rules_fish

Bazel toolchain rules for Fish shell.
Apache License 2.0
2 stars 0 forks source link

Create genrule macro #21

Open Matthew-Benson opened 1 month ago

Matthew-Benson commented 1 month ago

Create macro fish_genrule that wraps genrule and maps cmd -> cmd_bash, cmd_ps, etc. and creates a wrapper similar to fish_wrapper.sh that is used by fish_binary. As much as possible, other kwargs should just pass through.

See https://bazel.build/reference/be/general#genrule.