Skip to content

Instantly share code, notes, and snippets.

@christianberg
Created May 11, 2010 16:27
Show Gist options
  • Save christianberg/397504 to your computer and use it in GitHub Desktop.
Save christianberg/397504 to your computer and use it in GitHub Desktop.
lein clean && lein deps && lein compile # regular leiningen build
lein uberwar # create a war with all dependency (and dev-dependency) jars
rm -rf war && mkdir war
unzip compojureongae-0.1.0.war -d war # unpack the war
rm -r war/WEB-INF/lib/dev # remove the dev-dependencies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment