Skip to content

fact/shadow-build

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shadow-build

A ClojureScript build library capable of compiling multiple output files. It is basically a rewrite of cljs.closure since it assumes to only ever produce one output file.

Its a lot more flexible than cljs.closure which also means its a little more complex to use.

Example Project can be found at: http://github.com/thheller/shadow-build-example

Usage

Right now this really only is a library and not a tool like lein-cljsbuild. But Leiningen provides enough hooks to make integration easy, assuming you are using Leiningen of course.

Include the necessary options in your project.clj

:profiles {:dev {:source-paths ["dev"]
                 :dependencies [[org.clojure/clojurescript "1.7.228"]
                                [thheller/shadow-build "1.0.201"]]}}

alpha11+ also require Clojure 1.7.0-RC1 and up!

I recommend putting it into the :dev profile since you usually don't need it in production. You'll also need to provide ClojureScript itself.

For a basic usage example see: http://github.com/thheller/shadow-build-example

License

Copyright © 2015 Thomas Heller

Distributed under the Eclipse Public License, the same as Clojure.

About

ClojureScript compile&build library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Clojure 76.2%
  • JavaScript 21.2%
  • Java 2.4%
  • HTML 0.2%