3 ms·
Awkward person in the video AND author of that tutorial here... I'd love to learn more about what went wrong in setup. Keeping that article up to date and, mo
by phillipcarter 10y ago
Awkward person in the video AND author of that tutorial here...
I'd love to learn more about what went wrong in setup. Keeping that article up to date and, more importantly, correct is a priority of mine, because I really want people to learn about Ionide and F#.
- mamcx 10y agoI just follow the tutorial on OSX. Then I try to do the first build and get: > build.sh: line 34: syntax error: unexpected end of file So I delete the last empty line, and get: > build.sh: line 33: syntax error near unexpected token `fi' I don't see any wrong with the script (I don't know bash scripting). So I go to the github site and just copy from https://github.com/ionide/ionide-vscode-fake/blob/master/build.sh https://github.com/ionide/ionide-vscode-fake/blob/master/bui... And it work. This is the diff: diff -r 8b6c97c12f6e build.sh --- a/build.sh Fri Dec 09 20:27:05 2016 -0500 +++ b/build.sh Fri Dec 09 20:27:50 2016 -0500 @@ -3,7 +3,7 @@ then # use .Net - .paket/paket.bootstrapper.exe + .paket/paket.bootstrapper.exe prerelease exit_code=$? if [ $exit_code -ne 0 ]; then exit $exit_code @@ -15,7 +15,7 @@ exit $exit_code fi - packages/FAKE/tools/FAKE.exe $@ --fsiargs build.fsx + packages/FAKE/tools/FAKE.exe $@ --nocache --fsiargs build.fsx else # use mono mono .paket/paket.bootstrapper.exe @@ -29,5 +29,5 @@ if [ $exit_code -ne 0 ]; then exit $exit_code fi - mono packages/FAKE/tools/FAKE.exe $@ --fsiargs -d:MONO build.fsx + mono packages/FAKE/tools/FAKE.exe $@ --nocache --fsiargs -d:MONO build.fsx fi \ No newline at end of file
- k_cieslak 10y agoIt's probably line ending problem. Running something like dos2unix on `build.sh` would probably fix it.