ClojureRemote 17 — Boot
This post is one of many, and will cover topics discussed at ClojureRemote.
Our project starts with build.boot and boot.properties files. These files are used by our build tool to manage dependencies for our project and utilize a Clojure environment for executing build-time code.
We start off by pinning our Boot version in our boot.properties file. This makes sure everyone who tries to build with our project will be using the same version of boot.
Once we have our version of boot selected, we can move on to the build.boot file.
The build.boot file is processed every time you start boot. Changes to this file require that Boot be restarted. Here we have some common defaults.
Let’s add a few additional dependencies for our app and continue on…
We need to require all of the tasks for our build and configure a few of their options.
Make sure you added the additional dependencies!
Most of these compiler options are not needed.
Finally we pull it all together with a develop task which we are going to be spending most of our time working with.
You can get the final build.boot here:
Our next topic is: Feathers.js