I have this simple Bash script:
#!/bin/bash java -jar ClosureCompiler/compiler.jar --js ../src/typescript.js --js ../src/ts-compiler.js --js_output_file TSCompiler.js
I'm getting this error when I try to run the script using build.sh
in the MSYS environment under Windows (64-bit!):
./build.sh: ./build.sh: cannot execute binary file
But the command itself works if I type it directly into the command line window!
build.sh
is telling you it can't runbuild.sh
? What's the output offile build.sh
?