Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/pokle/lein-hook-example
An example showing you how to write a leiningen hook in a project that hooks into a plugin
https://github.com/pokle/lein-hook-example
Last synced: 10 days ago
JSON representation
An example showing you how to write a leiningen hook in a project that hooks into a plugin
- Host: GitHub
- URL: https://github.com/pokle/lein-hook-example
- Owner: pokle
- Created: 2014-03-25T14:43:48.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-03-25T14:49:44.000Z (over 10 years ago)
- Last Synced: 2023-03-11T00:19:14.497Z (over 1 year ago)
- Language: Clojure
- Size: 133 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
lein-hook-example
=================An example showing you how to write a leiningen hook in a project that hooks into a plugin
Structure
---------- a-plugin: A little sample plugin that does some work in leiningen.a-plugin/dist
- a-project: A little project with a hook that overrides leiningen.a-plugin/distDemo
----First install the plugin (or include it in a-project/.lein-classpath)
$ cd a-plugin
$ lein install
$ cd -
Next invoke the plugin, showing that the hook works:$ cd a-project
$ lein a-plugin
Just before dist
Created ...
Created ...
Just after dist