Skip to content

Commit a417b2a

Browse files
committed
Add jar usage
1 parent 846b433 commit a417b2a

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ to search for code patterns using Clojure structures.
66

77
Note: this is quite experimental for now.
88

9-
## Command-Line Usage
9+
## Command-Line
1010

1111
```
12-
grape [-r|--recursive] <pattern> <file> [<file> ...]
12+
java -jar grape.jar [-r|--recursive] <pattern> <file> [<file> ...]
1313
```
1414

1515
## Library

project.clj

+2-1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
[carocad/parcera "0.3.1"]]
99
:main grape.cli
1010
:repl-options {:init-ns user}
11-
:profiles {:dev {:source-paths ["dev"]
11+
:profiles {:uberjar {:aot :all}
12+
:dev {:source-paths ["dev"]
1213
:global-vars {*warn-on-reflection* true}
1314
:dependencies [[org.clojure/tools.namespace "0.2.11"]]}})

0 commit comments

Comments
 (0)