-
-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
runtests.sh is not downloaded with executable permissions #76
Comments
Also: if you're like me, you ended up here wondering why you couldn't run the tests. This link helped me understand chown enough to get them running. |
I'm willing to sit down this weekend and update the README for this track to walk newbies through how to make the .sh files executables for Linux and Mac users. I'm not sure what the appropriate way to describe running a .bat file in windows. Enter the filename from a cmd prompt? |
@Calvyn82 thanks for reminding me about this! I'm really unhappy with asking people to modify the runtests scripts every time they download a new exercise. I'm almost tempted to switch back to recommending $ elm-test SayTests.elm
Success! Compiled 1 module.
Successfully generated /var/folders/c8/lwxn19p55rj7mq0n7xhj0hv00000gp/T/elm_test_116615-34499-1gpd4jn.js
Successfully compiled SayTests.elm
Running tests...
1 suites run, containing 17 tests
All tests passed
: ""
[stdin]:7603
if (typeof Elm === "undefined") { throw "elm-io config error: Elm is not defined. Make sure you call elm-io with a real Elm output file"}
^
elm-io config error: Elm is not defined. Make sure you call elm-io with a real Elm output file If we want to stay self sufficient, I think I'd prefer to write a little node powered wrapper. Thoughts? |
I didn't even think to check/ask, but it looks like this behavior was changed a few months ago: exercism/cli#276 :(
So... seeing as in my haste I've failed to create a clean/generic wrapper on the first try, I see a few obvious options:
elm-test
to ship.elm-test MyTests.elm
actually works right now, it just has a bunch of extraneous garbage at the end of the output.bash runtests.sh
.node runtests.js
.Thoughts @parkerl @lukewestby?
The text was updated successfully, but these errors were encountered: