File tree Expand file tree Collapse file tree 4 files changed +23
-3
lines changed Expand file tree Collapse file tree 4 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 1616
1717cd " $CODEBASE "
1818
19- docker-compose run --no-deps --rm -w /srv/manager app gulp $@
19+ /usr/local/bin/ docker-compose run --no-deps --rm -w /srv/manager app gulp $@
2020exit $?
Original file line number Diff line number Diff line change 1616
1717cd " $CODEBASE "
1818
19- docker-compose run --no-deps --rm -w /srv/manager app npm $@
19+ /usr/local/bin/ docker-compose run --no-deps --rm -w /srv/manager app npm $@
2020exit $?
Original file line number Diff line number Diff line change 1+ #! /bin/bash
2+
3+ SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
4+ if hash realpath 2> /dev/null; then
5+ export CODEBASE=$( realpath $SCRIPT_DIR /..)
6+ elif hash grealpath 2> /dev/null; then
7+ export CODEBASE=$( grealpath $SCRIPT_DIR /..)
8+ else
9+ export CODEBASE=$( readlink -e $SCRIPT_DIR /..)
10+ fi
11+
12+ if [ -z " $CODEBASE " ]; then
13+ echo " Unable to determine absolute codebase directory"
14+ exit 1
15+ fi
16+
17+ cd " $CODEBASE "
18+
19+ /usr/local/bin/docker-compose run --no-deps --rm -w /srv/manager app yarn $@
20+ exit $?
Original file line number Diff line number Diff line change 3838 "gulp-concat-util" : " ^0.5.5" ,
3939 "gulp-ejs" : " ^3.0.1" ,
4040 "gulp-imagemin" : " ^3.3.0" ,
41- "gulp-sass" : " ^3.2 .1" ,
41+ "gulp-sass" : " ^4.0 .1" ,
4242 "gulp-util" : " ^3.0.8" ,
4343 "image-size" : " ^0.6.1" ,
4444 "jquery" : " ^3.2.1" ,
You can’t perform that action at this time.
0 commit comments