質問

I am working on a Clojure library. Inside the library is an example app that shows how to use the library. In the example app, which is in a subdirectory, what is the cleanest way to depend on the parent library? I want this to be fast; I want the dependency always be in step with the current library code. That means avoiding deploying to Clojars (or elsewhere).

役に立ちましたか?

他のヒント

You can add "../src" to the :source-paths in project.clj

Since you always want the current version of the parent's code, and it will always be in the same relative place, it's less a "dependency" to be resolved and more a classpath to be used to find code.

ライセンス: CC-BY-SA帰属
所属していません StackOverflow
scroll top