--- modules/damieng/graphical_editor/loncapa_daxe/build.sh 2015/09/14 18:24:35 1.5 +++ modules/damieng/graphical_editor/loncapa_daxe/build.sh 2015/12/18 16:35:11 1.7 @@ -15,13 +15,18 @@ pub build # extract JSME if necessary -if [ ! -d build/web/jsme ]; then - echo "Extracting JSME..." - unzip -q -d build/web 'JSME_2015-03-03_xsiframe.zip' 'JSME_2015-03-03_xsiframe/jsme/*' - mv 'build/web/JSME_2015-03-03_xsiframe/jsme' build/web/ - rmdir 'build/web/JSME_2015-03-03_xsiframe' -fi +#if [ ! -d build/web/jsme ]; then +# echo "Extracting JSME..." +# unzip -q -d build/web 'JSME_2015-03-03_xsiframe.zip' 'JSME_2015-03-03_xsiframe/jsme/*' +# mv 'build/web/JSME_2015-03-03_xsiframe/jsme' build/web/ +# rmdir 'build/web/JSME_2015-03-03_xsiframe' +#fi +# remove JSME (included in LON-CAPA) +rm -r build/web/jsme + +# remove LC_math_editor.min.js (included in LON-CAPA) +rm -r build/web/LC_math_editor.min.js # replace web/loncapa_daxe.html by daxe.html (which does not link to a dart file) rm build/web/loncapa_daxe.html