Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build uberjar on CI #219

Draft
wants to merge 9 commits into
base: develop
Choose a base branch
from

Conversation

jeroenvandijk
Copy link

@jeroenvandijk jeroenvandijk commented Jun 12, 2022

This work is a proof of concept for releasing uberjars via CI

It includes

  • a build script for uberjar creation
  • a configuration for CircleCI to build the uberjar and release it under artififacts

An example artificat can be found here on CircleCI

The jar can be run after downloading via one of the following commands:

java -jar build/convex-web-0.1.2053-standalone.jar
java -cp build/convex-web-0.1.2053-standalone.jar convex_web.core
java -cp build/convex-web-0.1.2053-standalone.jar clojure.main -m convex-web.core

The latter two variants can start a repl by using the property syntax

java -cp build/convex-web-0.1.2053-standalone.jar -Dclojure.server.repl="{:port,5555,:accept,clojure.core.server/repl}"clojure.main -m convex-web.core

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant