technomancy/leiningen — Issue #409: local plugins not found of :source-path is not "src"?
Author: keith-dev
Created: 2012-02-18 05:32:55+00:00
State: open

Hi--

(leiningen 1.7)

I've been working with lein-cljsbuild and used the suggested directory structure:

src-cljs ;; clojurescript files
src-clj ;; clojure files

The app "runs" just fine and can be properly "jarred" or "uberjarred". However, I have a "custom" plugin I use for building for distribution in our production stack that looks something like:

src-clj/leiningen/dist.clj

Just a simple bit of code to put the uberjar and a custom script into the "dist" directory where it can be picked up by an otherwise agnostic packager project. This has worked as expected when in `src/leiningen/dist.clj` but not at all when moved to `src-clj`. It's as if the non-standard path (defined as :source-path "src-clj" in `project.clj`) is completely ignored when searching for tasks.

Regards,
K