guybedford / chomp

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

Feature request - update host path from a chomp task #107

Open zachsa opened 2 years ago

zachsa commented 2 years ago

I was trying to update the $PATH variable from a chomp task, and found that chomp can't update my host $PATH from within a chomp task

[[task]]
name = 'update-hosts-path'
run = '''
  export "PATH=$PATH:$(pwd)/bin"
'''

This command runs successfully, but $(pwd)/bin is not added to my path