Commits

Kacper Kowalik committed f115d10

Drop obsolete run_recipes.sh

Comments (0)

Files changed (1)

helper_scripts/run_recipes.sh

-ROOT=`pwd`
-
-if [ ! -e source/cookbook/_static ]; then
-    mkdir source/cookbook/_static
-fi
-
-for s in source/cookbook/*.py
-do
-    sb=`basename ${s}`
-    cd ${ROOT}/_temp/
-    [ -e ${sb}.done ] && continue
-    echo ${sb}
-    python2.7 ${ROOT}/${s} --config serialize=false || exit
-    for o in *.png *.txt *.h5 *.dat 
-    do
-      if [ -f ${o} ]; then
-	  mv -v ${ROOT}/_temp/${o} ${ROOT}/source/cookbook/_static/${sb%%.py}__${o}
-      fi
-    done
-    for o in LC LC_HM LC_U LR halo_analysis DD0046
-    do
-      if [ -d ${o} ]; then
-	  mv -v ${ROOT}/_temp/${o} ${ROOT}/source/cookbook/_static/${sb%%.py}__`basename ${o}`
-      fi
-    done
-    touch ${sb}.done
-    echo ${sb}.done
-done