xonixx / makesure

Simple task/command runner with declarative goals and dependencies
https://makesure.dev
MIT License
344 stars 5 forks source link

Incorrect parameterized goal argument interpolation when `@define` goes after #152

Closed xonixx closed 10 months ago

xonixx commented 10 months ago
@define AAA 'aaa'

@goal g
@depends_on pg @args "$AAA"
@depends_on pg @args "$BBB"

@define BBB 'bbb'

@goal pg @params V
  echo "$V"
$ ./makesure -f tmp/m7.sh -l
Available goals:
  g
  pg@aaa
  pg@

Should show pg@aaa and pg@bbb