Skip to content

Commit 2fcd6e9

Browse files
committed
update to latest cli binary, switch to using git dep for autodoc-collect
1 parent 301471c commit 2fcd6e9

File tree

8 files changed

+339
-61
lines changed

8 files changed

+339
-61
lines changed

Diff for: build.sh

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
set -e
44

55
# TODO - remove
6-
PROJECT=spec.alpha
6+
PROJECT=tools.deps.alpha
77

88
# Create or refresh repo
99
if [[ ! -d repo ]]; then
@@ -35,11 +35,11 @@ cp -R site/* repo-docs
3535
echo "Analyzing $PROJECT"
3636
rm -f analysis.edn
3737
echo "(def PROJECT \"$PROJECT\") (def VERSION \"$version\")" > proj.clj
38-
cat proj.clj collect.clj | clojure -J-Dclojure.spec.skip-macros=true -C:collect -
38+
cat proj.clj collect.clj | clojure -Sforce -J-Dclojure.spec.skip-macros=true -M:collect -
3939

4040
# Run autodoc
4141
echo "Building $PROJECT"
42-
cat proj.clj build.clj | clojure -R:build -
42+
cat proj.clj build.clj | clojure -M:build -
4343

4444
# Commit
4545
if [[ ! -z "$COMMIT" ]]; then

Diff for: cli/bin/clj

+4-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
#!/usr/bin/env bash
22

3+
bin_dir=/usr/local/Cellar/[email protected]/1.11.1.1161/bin
4+
35
if type -p rlwrap >/dev/null 2>&1; then
4-
rlwrap -r -q '\"' -b "(){}[],^%3@\";:'" clojure "$@"
6+
exec rlwrap -r -q '\"' -b "(){}[],^%#@\";:'" "$bin_dir/clojure" "$@"
57
else
68
echo "Please install rlwrap for command editing or use \"clojure\" instead."
9+
exit 1
710
fi

0 commit comments

Comments
 (0)