14 lines
282 B
Bash
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 |