Closed mike-thompson-day8 closed 10 years ago
If you wanted to make your code more OS independent, there are 3 tweaks:
:test-commands {"test" ["bin/speclj" "path/to/compiled.js"]}}
becomes (adding phantomjs)
:test-commands {"test" ["phantomjs" "bin/speclj" "path/to/compiled.js"]}}
:notify-command ["bin/speclj" "path/to/compiled.js"]}
becomes (adding phantomjs):
:notify-command ["phantomjs" "bin/speclj" "path/to/compiled.js"]}
fs.write("/dev/stdout", x, "w");
with
console.log(x)
Nice catch. The template actually had this done already. The README and project.clj have been updated.
If you wanted to make your code more OS independent, there are 3 tweaks:
becomes (adding phantomjs)
becomes (adding phantomjs):
with