tfenv icon indicating copy to clipboard operation
tfenv copied to clipboard

syntax error near unexpected token

Open rboarman-sc opened this issue 4 years ago • 3 comments

I am not experienced with go; so please excuse me if this is not really an issue.

Running the latest golang (1.12.7) on Windows 10 in Git Bash I get this error:

$ make release/tfenv
C:/Program Files (x86)/GnuWin32/bin/make go/build
/usr/bin/sh: -c: line 0: syntax error near unexpected token `('
/usr/bin/sh: -c: line 0: `C:/Program Files (x86)/GnuWin32/bin/make go/build'
make: *** [release/tfenv] Error 1

The documentation says I should use "make go/build" but that is not a valid make target. This probably has to do with the command "shell" not being installed with Git Bash.

Please advise on how to build on Windows 10 with Git Bash.

rboarman-sc avatar Jul 24 '19 19:07 rboarman-sc

Aha, our build tools have not been tested on windows. Can your try one of our binary releases instead?

osterman avatar Jul 24 '19 19:07 osterman

https://github.com/cloudposse/tfenv/releases

osterman avatar Jul 24 '19 19:07 osterman

The binary release is fine. Thank you.

rboarman-sc avatar Jul 24 '19 19:07 rboarman-sc