hoplon / boot-hoplon

Boot task to build Hoplon web applications.
Eclipse Public License 1.0
8 stars 5 forks source link

boot-hoplon

[hoplon/boot-hoplon "0.3.0"] ;; latest release

Boot task for building Hoplon web applications.

What's In The Box™

Usage

Add boot-hoplon to your build.boot dependencies and require the namespace.

Note: the boot-hoplon dependency is only needed at when compiling Hoplon source files, but hoplon itself is needed both when compiling and at runtime. So you should add boot-hoplon with the test scope and hoplon with the (default) compile scope.

(merge-env!
  :dependencies '[[hoplon "A.B.C"]
                  [hoplon/boot-hoplon "X.Y.Z" :scope "test"])
(require '[hoplon.boot-hoplon :refer :all])

You can see the options available on the command line:

boot hoplon -h

or in the REPL:

boot.user=> (doc hoplon)

Compile Hoplon Pages

If you only want to compile Hoplon → ClojureScript+HTML, you can do:

boot hoplon

License

Copyright © 2014 Alan Dipert and Micha Niskin

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