bensu / doo

doo is a library and lein plugin to run cljs.test on different js environments.
Eclipse Public License 1.0
324 stars 63 forks source link

Run rhino from dependency #84

Closed SevereOverfl0w closed 8 years ago

SevereOverfl0w commented 8 years ago

Is it possible to run rhino from it's dependency directly?

It may be necessary to add a rhino-dep option, and set the base command to lein run -m org.mozilla.javascript.tools.shell.Main or there may be a much simpler option that I'm not aware of.

Any pointers?

SevereOverfl0w commented 8 years ago

https://github.com/bensu/doo#paths Just saw this!

  :profiles {:test
             {:dependencies [[org.mozilla/rhino "1.7.7"]]}}
  :doo {:paths {:rhino "lein run -m org.mozilla.javascript.tools.shell.Main"}}

Allowed rhino to run from local dependency