--- modules/damieng/graphical_editor/loncapa_daxe/build.sh 2015/05/07 20:59:29 1.3 +++ modules/damieng/graphical_editor/loncapa_daxe/build.sh 2015/09/14 15:58:57 1.4 @@ -10,6 +10,11 @@ rm -rf dist mkdir dist +# get Daxe latest version from github + +pub upgrade daxe + + # compile LON-CAPA Daxe # NOTE: dart2js is in dart-sdk/bin, which should be on the PATH @@ -17,11 +22,11 @@ dart2js --minify --out=dist/loncapa_daxe rm dist/*.js.map dist/*.deps -# copy Daxe files +# copy Daxe resource files mkdir -p dist/packages/daxe # note the / at the end of the paths, it copies only the contents -rsync -a ../daxe/lib/ dist/packages/daxe/ --exclude CVS --exclude '*.dart' --exclude packages --exclude src +rsync -a packages/daxe/ dist/packages/daxe/ --exclude CVS --exclude '*.dart' --exclude packages --exclude src # copy LON-CAPA Daxe files