This projects consists of two parts.
- Main project
- Children project for separate library, to demonstrate usage of Boot and Lein checkouts feature.
- All: Install the child project to local Maven repo:
cd checkouts/example-component-lib; boot build
- Cursive:
boot dev
and connect to remote repl - Fireplace:
boot dev
and connect to remote repl - Cider:
boot dev
andM-x cider-connect
- All: Install the child project to local Maven repo:
cd checkouts/example-component-lib; lein install
lein less4j auto
lein figwheel
- Cursive: Start repl from cursive or
lein repl
and connect to remote repl - Fireplace:
lein repl
and connect to remote repl - Cider:
M-x cider-jack-in
to start repl orlein repl
andM-x cider-connect
- Run
(go)
on the repl
- Source files are separated per filetype, common practice(?)
- Helpful as some files have different roles
- Cljs files are input only
- Clj is input only if AOT compiled, but input+output if no AOT
src/clj
src/cljc
src/cljs
src/less
test/clj
test/cljc
test/cljs
build.boot
Boot entry fileboot.properties
Java properties file, defines Boot version used- by the time build.boot is read, Boot is already running - need for separate file
src/cljs/js/main.cljs.edn
configuration file for Boot-cljs, will result in result being written to js/main.js path inside the fileset.
project.clj
Lein configuration filelein-target
The directory used for files written by Lein stuff, in development some parts are included in classpath to serve files from
- boot-clj/boot-cljs#95
- New boot-cljs release for compiler-options precedence change
- Less4clj 1.9.0-alpha12 compat
[]: vim: set nospell :