Skip to content

Latest commit

 

History

History
48 lines (29 loc) · 1.51 KB

README.md

File metadata and controls

48 lines (29 loc) · 1.51 KB

genetic

Following the book Nature of code

Installation

Clone from git clone https://github.com/dionysus98/genalgo.git

Usage

Run the project directly, via :main-opts (-m genetic.core):

$ clojure -M:run-m -d
starting execution

Run the project, overriding the name to be greeted:

$ clojure -M:run-m -h
cli summary

Run the project's tests (they'll fail until you edit them):

$ clojure -T:build test

Run the project's CI pipeline and build an uberjar (this will fail until you edit the tests to pass):

$ clojure -T:build ci

This will produce an updated pom.xml file with synchronized dependencies inside the META-INF directory inside target/classes and the uberjar in target. You can update the version (and SCM tag) information in generated pom.xml by updating build.clj.

If you don't want the pom.xml file in your project, you can remove it. The ci task will still generate a minimal pom.xml as part of the uber task, unless you remove version from build.clj.s

Run that uberjar:

$ java -jar target/net.clojars.genetic/genetic-0.1.0-SNAPSHOT.jar

Copyright © 2023 Avy

EPLv1.0 is just the default for projects generated by deps-new: you are not required to open source this project, nor are you required to use EPLv1.0! Feel free to remove or change the LICENSE file and remove or update this section of the README.md file!

Distributed under the Eclipse Public License version 1.0.