Boot task to compile ClojureScript applications.
- Provides the
cljs
task for compiling ClojureScript to JavaScript - Requirements
- Supports ClojureScript versions since 1.7.28
- Boot version 2.6.0 but 2.7.0 is recommended for better error reporting
- Java 8+
- Docs
- .cljs.edn files
- Compiler options, Boot-cljs modified and automatically sets some options
- Related projects: boot-reload and boot-cljs-repl
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)
- boot-cljs-example - An example project with a local web server, CLJS REPL, and live-reload.
- Saapas example project - Opinionated example project for Boot.
- Tenzing project template - ClojureScript application template.
- Modern ClojureScript - Series of tutorials for ClojureScript. Uses Boot.
Copyright © 2014 Adzerk
Copyright © 2015-2017 Juho Teperi
Distributed under the Eclipse Public License either version 1.0 or (at your option) any later version.