Pete Davison
4736bc2734
refactor: unify how executor tests are written ( #2042 )
...
* feat: use TaskTest for executor tests
* feat: more tests
* feat: separate tests for executing and formatting with new functional options that work for both test types
* feat: formatter tests
* refactor: more tests
2025-03-31 17:53:58 +01:00
rohm1
24a830e384
fix: forward env to RunCommand when evaluating sh vars ( #1869 )
...
* forward env to RunCommand when evaluating sh vars. fixes #1742
* feat: added tests
* fix: test
---------
Co-authored-by: Pete Davison <pd93.uk@outlook.com>
2025-01-02 20:07:25 +00:00
Oleksandr Redko
390220ec9c
fix: typos in docs, changelog, testdata, comments ( #1910 )
2024-11-07 13:25:59 -03:00
Valentin Maerten
4b6c79aca5
feat: experiment taskfile envs take precedence over os envs ( #1633 )
...
* feat: experiment taskfile envs take precedence over os envs
* fix test
* fix typo
Co-authored-by: Andrey Nering <andrey@nering.com.br>
* docs: add p about default
---------
Co-authored-by: Andrey Nering <andrey@nering.com.br>
2024-07-16 23:44:34 +01:00
Valentin Maerten
3397f2855f
fix: handle int and float env variable by converting them to string ( #1641 )
2024-05-09 11:14:38 -03:00
Andrey Nering
68ce8642b1
Create v3 compiler which respects declaration order of variables
...
Also, fix "<no value>" been printed when a non-existing variable is printed.
2020-05-16 15:46:07 -03:00
Andrey Nering
aac6c5a1c7
Add hability to globally set environment variables
...
Closes #138
2019-01-02 12:06:12 -02:00
Sindre Røkenes Myren
72bfd94329
Fixes env: remove square braces and evaluate shell ( #62 )
...
Fixes bug #61 , and makes `env` work more similar to `vars` by allowing
dynamic shell values to be evaluated as part of `CompiledTask`.
2017-08-16 08:04:58 -03:00