Skip to content

Redpill-Linpro/camelot

Repository files navigation

redpill-linpro/camelot

Test bed for apache camel on clojure

Installation

Download from https://github.com/redpill-linpro/camelot

Usage

FIXME: explanation

Run the project directly, via :exec-fn:

$ clojure -X:run-x
Hello, Clojure!

Run the project, overriding the name to be greeted:

$ clojure -X:run-x :name '"Someone"'
Hello, Someone!

Run the project directly, via :main-opts (-m redpill-linpro.camelot):

$ clojure -M:run-m
Hello, World!

Run the project, overriding the name to be greeted:

$ clojure -M:run-m Via-Main
Hello, Via-Main!

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.

Run that uberjar:

$ java -jar target/camelot-0.1.0-SNAPSHOT.jar

If you remove version from build.clj, the uberjar will become target/camelot-standalone.jar.

Options

N/A

Examples

...

Bugs

...

Any Other Sections

That You Think

Might be Useful

License

Copyright © 2022 Redpill Linpro

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published