noseglid / atom-build

:hammer: Build your project directly from the Atom editor
https://atom.io/packages/build
MIT License
248 stars 97 forks source link

How to pass the windows path to cygwin ? #565

Open ComingNine opened 5 years ago

ComingNine commented 5 years ago

I am trying .atom-build.yml but can not get it work to pass the windows path to cygwin. The attempts failed are given below.

Expected output: D:\Downloads

cmd: C:\cygwin64\bin\bash.exe -i -l -c "echo {FILE_ACTIVE_PATH}" bash: unexpected EOF while looking for matching `"'

cmd: C:\cygwin64\bin\bash.exe -i -l -c "echo '{FILE_ACTIVE_PATH}'" bash: unexpected EOF while looking for matching `"'

cmd: C:\cygwin64\bin\bash.exe -i -l -c 'echo {FILE_ACTIVE_PATH}' D:Downloads

cmd: C:\cygwin64\bin\bash.exe -i -l -c 'echo "{FILE_ACTIVE_PATH}"' "D:Downloads"

cmd: C:\cygwin64\bin\bash.exe -i -l -c 'echo '{FILE_ACTIVE_PATH}'' D:Downloads

cmd: C:\cygwin64\bin\bash.exe -i -l -c ""echo {FILE_ACTIVE_PATH}"" bash: "echo: command not found

cmd: C:\cygwin64\bin\bash.exe -i -l -c 'echo ""{FILE_ACTIVE_PATH}""' ""D:Downloads""