krieselreihe / litr

Litr (Language Independent Task Runner) lets you configure and then run any tasks you want for any language.
MIT License
8 stars 0 forks source link

What if you could use parameters inside the directory option? #34

Open MartinHelmut opened 3 years ago

MartinHelmut commented 3 years ago

Description

Given the following test script:

[commands.test]
script = "cd build/%{target}/src/tests && ctest && ../../../.."

Allowing parameters inside the dir option could enable this change:

[commands.test]
dir = "build/%{target}/src/tests"
script = "ctest"

Open questions