File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3535if [ " $1 " == " up" ] ; then
3636 print_style " Initializing Docker Sync\n" " info" ;
3737 print_style " (May take a long time (15min+) on the 'Looking for changes' step the first time)\n" " warning" ;
38- docker-sync start;
39- print_style " Initializing Docker Compose\n" " info" ;
40- shift ; # removing first argument
38+ docker-sync start &&
39+ print_style " Initializing Docker Compose\n" " info" &&
40+ shift && # removing first argument
4141 docker-compose -f docker-compose.yml -f docker-compose.sync.yml up -d ${@ } ;
4242
4343elif [ " $1 " == " down" ]; then
4444 print_style " Stopping Docker Compose\n" " info" ;
45- docker-compose down;
46- print_style " Stopping Docker Sync\n" " info" ;
45+ docker-compose down &&
46+ print_style " Stopping Docker Sync\n" " info" &&
4747 docker-sync stop;
4848
4949elif [ " $1 " == " install" ]; then
You can’t perform that action at this time.
0 commit comments