Last active
August 29, 2015 14:14
-
-
Save jeremyheiler/022e228eda315b45b88f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
~:$ lein new app foo | |
Generating a project called foo based on the 'app' template. | |
~:$ cd foo | |
foo:$ tree | |
. | |
├── LICENSE | |
├── README.md | |
├── doc | |
│ └── intro.md | |
├── project.clj | |
├── resources | |
├── src | |
│ └── foo | |
│ └── core.clj | |
└── test | |
└── foo | |
└── core_test.clj | |
6 directories, 6 files | |
foo:$ lein uberjar | |
Compiling foo.core | |
Created /Users/jeremy/foo/target/uberjar+uberjar/foo-0.1.0-SNAPSHOT.jar | |
Created /Users/jeremy/foo/target/uberjar/foo-0.1.0-SNAPSHOT-standalone.jar | |
foo:$ java -jar target/uberjar/foo-0.1.0-SNAPSHOT-standalone.jar | |
Hello, World! | |
foo:$ boot -s src -- uber -- jar -m foo.core | |
Adding uberjar entries... | |
Writing project.jar... | |
foo:$ java -jar target/project.jar | |
Error: Could not find or load main class foo.core | |
foo:$ jar tf target/project.jar | |
META-INF/MANIFEST.MF | |
foo:$ boot -V | |
#https://github.com/boot-clj/boot | |
#Fri Jan 30 23:52:15 EST 2015 | |
BOOT_CLOJURE_VERSION=1.6.0 | |
BOOT_VERSION=2.0.0-rc8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment