Add :main in project.clj and fix namespace reference in core
This commit is contained in:
parent
0d77bb654f
commit
7d2fdbb723
@ -4,4 +4,5 @@
|
|||||||
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
|
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
|
||||||
:url "https://www.eclipse.org/legal/epl-2.0/"}
|
:url "https://www.eclipse.org/legal/epl-2.0/"}
|
||||||
:dependencies [[org.clojure/clojure "1.10.0"]]
|
:dependencies [[org.clojure/clojure "1.10.0"]]
|
||||||
|
:main ^:skip-aot propeller.core
|
||||||
:repl-options {:init-ns propeller.core})
|
:repl-options {:init-ns propeller.core})
|
||||||
|
@ -487,7 +487,7 @@
|
|||||||
(defn -main
|
(defn -main
|
||||||
"Runs propel-gp, giving it a map of arguments."
|
"Runs propel-gp, giving it a map of arguments."
|
||||||
[& args]
|
[& args]
|
||||||
(binding [*ns* (the-ns 'propel.core)]
|
(binding [*ns* (the-ns 'propeller.core)]
|
||||||
(propel-gp (update-in (merge {:instructions default-instructions
|
(propel-gp (update-in (merge {:instructions default-instructions
|
||||||
:error-function regression-error-function
|
:error-function regression-error-function
|
||||||
:max-generations 500
|
:max-generations 500
|
||||||
|
Loading…
x
Reference in New Issue
Block a user