Skip to content

Instantly share code, notes, and snippets.

@jethrokuan
Created May 11, 2016 15:42
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jethrokuan/c661941db97fa23c565e6f2e99b53c2c to your computer and use it in GitHub Desktop.
Save jethrokuan/c661941db97fa23c565e6f2e99b53c2c to your computer and use it in GitHub Desktop.
Shim for uberjar. Set :main to shim/-main, and only AOT shim.
(ns shim
(:gen-class))
(defn -main [& argv]
(require 'my.app.entrypoint)
(apply (resolve 'my.app.entrypoint/-main) argv))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment