moodle-block_mytreestudyplan/build.sh
2023-08-15 16:09:13 +02:00

14 lines
282 B
Bash

#!/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