user4813927
user4813927

Reputation:

Running a clojure repository on Github

I am a newbie to Github. I want to run this tutorial repo from Github. I do lein run poly-timing-master/ in the directory where i have downloaded and extracted the zip file and i get this error in the terminal:

No :main namespace specified in project.clj.

Am i doing the running process correctly?

Upvotes: 0

Views: 130

Answers (1)

KobbyPemson
KobbyPemson

Reputation: 2539

type the following at your shell/command prompt

git clone https://github.com/puredanger/poly-timing
cd poly-timing
lein deps
lein run

you should see the following

Compiling poly-timing.core
## Value-based dispatch

Benchmarking case 1st
WARNING: Final GC required 1.438013251625518 % of runtime
WARNING: Final GC required 13.265534855967589 % of runtime
Evaluation count : 26507544 in 6 samples of 4417924 calls.
             Execution time mean : 21.775064 ns
    Execution time std-deviation : 1.152629 ns
   Execution time lower quantile : 20.008462 ns ( 2.5%)
   Execution time upper quantile : 22.995363 ns (97.5%)
                   Overhead used : 1.940065 ns
...

Upvotes: 2

Related Questions