moodle-block_mytreestudyplan/build.sh

14 lines
282 B
Bash
Raw Normal View History

2023-08-15 16:09:13 +02:00
#!/bin/bash
SCRIPTDIR=$( cd -- "$( dirname -- "${BASH_SOURCE[0]}" )" &> /dev/null && pwd )
WD=`pwd`
# run the grunt script in the scripts working directory
cd $SCRIPTDIR
grunt amd
# run the build php script
php ${SCRIPTDIR}/build.php $@
# return to the working directory
cd $WD