Fork me on GitHub
#specter
<
2016-07-22
>
arvind18:07:28

I want to learn about specter implementation.

arvind18:07:39

One approach

arvind18:07:10

is to build my own specter by studying its API

arvind18:07:51

For this I created a new lein app like lein new app build-specter

arvind18:07:53

then created a checkouts directory within build-specter and created a link specter within checkouts directory like below:

arvind18:07:28

ln -s /home/user/clojure/specter specter

arvind18:07:04

Then I ran lein repl from build-specter directory

arvind18:07:40

Then attempted to require specter: build-specter.core=> (require 'com.rpl.specter)

arvind18:07:55

But this gave the below error: CompilerException java.io.FileNotFoundException: Could not locate riddley/walk__init.class or riddley/walk.clj on classpath., compiling:(com/rpl/specter/impl.clj:1:1)

arvind18:07:22

How do I include the checkouts dependencies

arvind18:07:48

Because specter depends on riddley

arvind19:07:11

I figured it out. Ran lein install in the specter directory and added specter as a dependency in build-specter's project.clj