Update depricated clj --main to -M -m

This commit is contained in:
Lee Spector 2023-03-28 22:53:31 -04:00
parent 565ae1e79b
commit 395ceac019

View File

@ -39,9 +39,9 @@ line with the command `lein run -m <namespace>`, replacing `<namespace>`
with the actual namespace that you will find at the top of the problem file. with the actual namespace that you will find at the top of the problem file.
If you have installed [Clojure](https://clojure.org/guides/install_clojure#java), you can run Propeller on a genetic programming If you have installed [Clojure](https://clojure.org/guides/install_clojure#java), you can run Propeller on a genetic programming
problem with the command `clj --main <namespace>`, replacing `<namespace>` with problem with the command `clj -M -m <namespace>`, replacing `<namespace>` with
the actual namespace that you will find at the top of the problem file. the actual namespace that you will find at the top of the problem file.
The examples below use leiningen, but you can replace `lein run -m` with `clj --main` to run the same problem. The examples below use leiningen, but you can replace `lein run -m` with `clj -M -m` to run the same problem.
A specific example is provided later below. A specific example is provided later below.