Skip to content

Commit a423884

Browse files
author
dnolen
committed
add helper script to build aot cached core files
1 parent e9ebf73 commit a423884

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

script/aot_core

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
#!/bin/bash
2+
3+
if [ "$CLOJURESCRIPT_HOME" = "" ]; then
4+
CLOJURESCRIPT_HOME="`dirname $0`/.."
5+
fi
6+
7+
CLJSC_CP=''
8+
for next in lib/*: src/clj: src/cljs: test/cljs; do
9+
CLJSC_CP=$CLJSC_CP$CLOJURESCRIPT_HOME'/'$next
10+
done
11+
12+
java -server -cp $CLJSC_CP clojure.main -e \
13+
"(require '[cljs.closure :as cljsc])
14+
(cljsc/aot-cache-core)"

0 commit comments

Comments
 (0)