Skip to content

A tool to compile cljs scripts on demand and run them.

License

Notifications You must be signed in to change notification settings

rbuchmann/trile

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trile

A clojure tool and some dirty shell helpers to help you compile cljs scripts on the fly.

Requirements

md5sum, readlink, leiningen.

Usage

  • Run ./install.sh

  • Put the trile executable on your path

Write any clojurescript for node with the

#!/path/to/trile

shebang. Example:

#!/path/to/trile

(defn -main [& args]
  (go (println (<! (stdin->chan))))
  (println "Hello world!"))

core.async functions will be magically available, as well as a function stdin->chan and clojure/tools.cli.

Scripts will be compiled when changed, and just called otherwise.

Have fun!

License

Copyright © 2016 Rasmus Buchmann

Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.

About

A tool to compile cljs scripts on demand and run them.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published