guybedford / chomp

'JS Make' - parallel task runner for the frontend ecosystem with a JS extension system.
https://chompbuild.com
Apache License 2.0
138 stars 7 forks source link

Extend environment replacements to other strings #123

Open guybedford opened 2 years ago

guybedford commented 2 years ago

One example is deps themselves for interpolations:

[[task]]
target = './build/##'
deps = ['./cmd/##', '${{DEP}}/*.go', './src/**/*.go']
run = '''
  go build -o $TARGET $DEP
'''