-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathREADME
More file actions
23 lines (13 loc) · 725 Bytes
/
README
File metadata and controls
23 lines (13 loc) · 725 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
clojure-archetype
Installation:
Clone the git repo and run:
mvn install
This will install the maven archetype in your local maven repository.
Usage:
Copy the cljproject file to a location in your path. Run the following to create a new clojure project:
cljproject {groupId} {artifactId}
where {groupId} {artifactId} corresponds to the maven group and artifact ids respectively. A new directory named by {artifactId} will be created and a template clojure project will be there referencing the following:
clojure-1.3.0
swank-clojure-1.3.0
A single "Hello World" clj file will be created (src/main/clojure/app.clj) containing a -main fn.
A single test file called runtests.clj will be created: scripts/runtests.clj