Skip to content

jgdavey/boot-middleman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.