Middleman task for boot
Clojure Ruby
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
resources
src/com/joshuadavey
.gitignore
README.md
build.boot

README.md

Boot + Middleman

Builds a middleman project from a subdirectory. By default, assumes the assets folder, but this can be configured.

A minimal middleman project will have the following structure:

assets/
|-- Gemfile
|-- config.rb
`-- source/
    |-- favicon.ico
    |-- index.html.erb
    |-- images/
    |-- javascripts/
    |-- layouts/
    `-- stylesheets/

See the middleman docs for more information.

NOTE: Known to work with middleman 3.3.x and 3.4.x

Current Version

Clojars Project

Setup

In your build.boot:

(set-env!
 :resource-paths #{"resources"}
 :dependencies '[[org.clojure/clojure "1.7.0" :scope "provided"]
                 [com.joshuadavey/boot-middleman "VERSION" :scope "test"]])

(require '[com.joshuadavey.boot-middleman :refer [middleman]])

where VERSION is the most recent version above.

Usage

boot middleman

Or, for continuous builds:

boot watch middleman

For more options, see help with boot middleman -h.