chen3feng / blade-build

Blade is a powerful build system from Tencent, supports many mainstream programming languages, such as C/C++, java, scala, python, protobuf...
Other
2.05k stars 500 forks source link

support blade run for gen_rule #959

Open ericuni opened 3 years ago

ericuni commented 3 years ago

Could you consider to add a run cmd for gen_rule, so when I excute blade run :xxx would call the run command

gen_rule(
  name = 'xxx',
  ...
  run = 'xxx cmd', 
)
chen3feng commented 3 years ago

We will allow build artifacts be called in gen_rule