nathandao / boot-cljs

Boot task to compile ClojureScript programs.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

boot-cljs Clojars Project Circle CI Downloads

Boot task to compile ClojureScript applications.

  • Provides the cljs task for compiling ClojureScript to JavaScript
  • Supports ClojureScript versions since 1.7.28
  • Works since Boot version 2.6.0 but 2.7.0 is recommended for better error reporting
  • Provides a mechanism by which multiple multiple JS applications can be compiled in the same project.
  • Related projects: boot-reload and boot-cljs-repl

Quick start

Add ClojureScript and boot-cljs to your build.boot dependencies and require the namespace:

(set-env! :dependencies '[[adzerk/boot-cljs "X.Y.Z" :scope "test"]])
(require '[adzerk.boot-cljs :refer [cljs]])

You can see the options available on the command line:

boot cljs --help

Or the same in the REPL:

boot.user=> (doc cljs)

For more comprehensive guide check wiki.

Further Reading

License

Copyright © 2014 Adzerk
Copyright © 2015-2016 Juho Teperi

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

About

Boot task to compile ClojureScript programs.

License:Eclipse Public License 1.0


Languages

Language:Clojure 99.3%Language:HTML 0.7%