运行 Github 上的 clojure 存储库
Running a clojure repository on Github
我是 Github 的新手。我想从 Github 运行 this tutorial 回购。
我在下载并解压缩 zip 文件的目录中执行 lein run poly-timing-master/
,但在终端中出现此错误:
No :main namespace specified in project.clj.
我 运行ning 过程是否正确?
在 shell/command 提示符下键入以下内容
git clone https://github.com/puredanger/poly-timing
cd poly-timing
lein deps
lein run
您应该看到以下内容
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
...
我是 Github 的新手。我想从 Github 运行 this tutorial 回购。
我在下载并解压缩 zip 文件的目录中执行 lein run poly-timing-master/
,但在终端中出现此错误:
No :main namespace specified in project.clj.
我 运行ning 过程是否正确?
在 shell/command 提示符下键入以下内容
git clone https://github.com/puredanger/poly-timing
cd poly-timing
lein deps
lein run
您应该看到以下内容
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
...