ClojureRemote 17 — Boot

flyboarder
degree9
Published in
1 min readFeb 7, 2017
ClojureRemote 17

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.

https://gist.github.com/flyboarder/685561d25a64a6ce2b27f2362e8362a9

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.

https://gist.github.com/flyboarder/08a2aa1a3d81941e0d489c9f4180ed38

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!

https://gist.github.com/flyboarder/37bf83a0078ead2d82d795e31ba32f61

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.

https://gist.github.com/flyboarder/e72f889fb0d51c2f1b2b2de481bfbf74

Our next topic is: Feathers.js

--

--