lib/scripts/getfunctions
changeset 74017 b4e6b82fdb9e
parent 73989 842fc354c031
child 74038 b4f57bfe82e7
equal deleted inserted replaced
74016:027fb21bdd5d 74017:b4e6b82fdb9e
   209   done
   209   done
   210   export ISABELLE_DIRECTORIES
   210   export ISABELLE_DIRECTORIES
   211 }
   211 }
   212 export -f isabelle_directory
   212 export -f isabelle_directory
   213 
   213 
   214 #administrative build
   214 #Isabelle/Scala/Java build
   215 function isabelle_admin_build ()
   215 function isabelle_scala_build ()
   216 {
   216 {
   217   if [ -e "$ISABELLE_HOME/Admin/build" ]; then
   217   rm -rf \
   218     "$ISABELLE_HOME/Admin/build" "$@"
   218     "$ISABELLE_HOME/lib/classes/Pure.jar" \
   219   fi
   219     "$ISABELLE_HOME/lib/classes/Pure.shasum" \
   220 }
   220     "$ISABELLE_HOME/src/Tools/jEdit/dist"
   221 export -f isabelle_admin_build
   221   if [ "$1" = "fresh" ]; then
       
   222     CMD="build_fresh"
       
   223   else
       
   224     CMD="build"
       
   225   fi
       
   226   env ISABELLE_SETUP_CLASSPATH_SKIP=true isabelle java isabelle.setup.Setup "$CMD"
       
   227 }
       
   228 export -f isabelle_scala_build
   222 
   229 
   223 #arrays
   230 #arrays
   224 function splitarray ()
   231 function splitarray ()
   225 {
   232 {
   226   SPLITARRAY=()
   233   SPLITARRAY=()