omio-labs / myke

make with yaml: development tasks made simple with golang, yaml and many ingredients
https://omio-labs.github.io/myke
MIT License
70 stars 16 forks source link

Allow templated env variables and pass CLI args to subsequent myke calls #106

Closed srettenmeier closed 4 years ago

srettenmeier commented 6 years ago
project: sample
tasks:
  build:
    cmd: |
      myke download # Pass CLI argument PROXY as env variable to next myke call
      ./gradlew build
  download:
    cmd: curl --proxy $PROXY -sLo file.tgz http://sample.org/file.tgz
CLAassistant commented 6 years ago

CLA assistant check
Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Simon Rettenmeier seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

rdsubhas commented 6 years ago

Hi @srettenmeier, welcome and thanks for the contrib! Yes, this has been a consistent feature request :) Am at work and will check it out today evening...

srettenmeier commented 6 years ago

Hi @rdsubhas, I refactored the code and added recursive parameter templating.

rdsubhas commented 4 years ago

Hi @srettenmeier I'm really sorry this missed our radar, we're moving our open source projects to github.com/omio-labs with a faster process. Sorry, closing this and will re-open there...