Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mrmcc3/boot-custom
Boot task for reloading and invoking a custom function to transform a fileset
https://github.com/mrmcc3/boot-custom
Last synced: 25 days ago
JSON representation
Boot task for reloading and invoking a custom function to transform a fileset
- Host: GitHub
- URL: https://github.com/mrmcc3/boot-custom
- Owner: mrmcc3
- Created: 2015-09-06T07:54:05.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-09-06T09:40:29.000Z (over 9 years ago)
- Last Synced: 2024-12-13T21:11:41.962Z (28 days ago)
- Language: Clojure
- Homepage:
- Size: 137 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# boot-custom
Boot task for reloading and invoking a custom function to transform a fileset.
```clj
[mrmcc3/boot-custom "0.1.0-SNAPSHOT"]
```### Why
My main use case is to build html pages with hiccup. (See example)
### Usage
in build.boot
```clj
(set-env! :dependencies '[[mrmcc3/boot-custom "0.1.0-SNAPSHOT"]])
(require '[mrmcc3.boot-custom :refer [custom]])
```then set the custom function
```clj
(task-options!
custom {:custom-fn 'example.core/build})
```### LICENSE
Copyright © 2015 Michael McClintock
Distributed under the Eclipse Public License, the same as Clojure.