File tree 4 files changed +23
-3
lines changed
4 files changed +23
-3
lines changed Original file line number Diff line number Diff line change 16
16
17
17
cd " $CODEBASE "
18
18
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 $@
20
20
exit $?
Original file line number Diff line number Diff line change 16
16
17
17
cd " $CODEBASE "
18
18
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 $@
20
20
exit $?
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 38
38
"gulp-concat-util" : " ^0.5.5" ,
39
39
"gulp-ejs" : " ^3.0.1" ,
40
40
"gulp-imagemin" : " ^3.3.0" ,
41
- "gulp-sass" : " ^3.2 .1" ,
41
+ "gulp-sass" : " ^4.0 .1" ,
42
42
"gulp-util" : " ^3.0.8" ,
43
43
"image-size" : " ^0.6.1" ,
44
44
"jquery" : " ^3.2.1" ,
You can’t perform that action at this time.
0 commit comments