moodle-tool_sptoolboxmgr/build.sh
2024-03-22 22:10:56 +01:00

14 lines
282 B
Bash
Executable File

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