Method: Clementine::ClojureScriptEngine#command
- Defined in:
- lib/clementine/clojurescript_engine/mri.rb
#command ⇒ Object
45 46 47 48 49 50 51 52 |
# File 'lib/clementine/clojurescript_engine/mri.rb', line 45 def command if defined? Nailgun setup_classpath_for_ng [nailgun_prefix, 'clojure.main', "#{CLOJURESCRIPT_HOME}/bin/cljsc.clj"].flatten.join(' ') else ["java", '-cp', "\"#{@classpath.join ":"}\"", 'clojure.main', "#{CLOJURESCRIPT_HOME}/bin/cljsc.clj"].flatten.join(' ') end end |