File tree 3 files changed +14
-4
lines changed
3 files changed +14
-4
lines changed Original file line number Diff line number Diff line change 69
69
:target-dir class-dir})
70
70
(b/jar {:class-dir class-dir
71
71
:jar-file lib-jar-file}))
72
+
73
+ (defn install [_]
74
+ (jar [])
75
+ (b/install {:class-dir class-dir
76
+ :lib lib
77
+ :version version
78
+ :jar-file lib-jar-file
79
+ :basis basis}))
Original file line number Diff line number Diff line change 1
- 1.0.9-SNAPSHOT
1
+ 1.1.0
Original file line number Diff line number Diff line change @@ -5,14 +5,16 @@ mkdir -p /tmp/cljdoc
5
5
version=$( cat resources/CLJ_JQ_VERSION)
6
6
7
7
echo " ---- cljdoc preview: installing jar in local repo"
8
- mvn install
8
+ clojure -T:build install
9
9
10
10
echo " ---- cljdoc preview: ingesting clj-jq"
11
11
docker run --rm -v " $PWD :/clj-jq" \
12
12
-v " $HOME /.m2:/root/.m2" -v /tmp/cljdoc:/app/data --entrypoint " clojure" \
13
- cljdoc/cljdoc -A :cli ingest -p lt.jocas/clj-jq -v " $version " \
13
+ cljdoc/cljdoc -M :cli ingest -p lt.jocas/clj-jq -v " $version " \
14
14
--git /clj-jq
15
15
16
+ echo " ---- open docs in browser"
17
+ firefox http://localhost:8000/d/lt.jocas/clj-jq/
18
+
16
19
echo " ---- cljdoc preview: starting server on port 8000"
17
20
docker run --rm -p 8000:8000 -v /tmp/cljdoc:/app/data cljdoc/cljdoc
18
- # go directly to http://localhost:8000/d/lt.jocas/clj-jq/, not via the search
You can’t perform that action at this time.
0 commit comments