Skip to content

Commit

Permalink
cr before cim for terminus
Browse files Browse the repository at this point in the history
  • Loading branch information
kazajhodo committed Jan 16, 2020
1 parent 2bebd48 commit 9fa8665
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions include/kill
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ if [[ $kill == true ]]; then
suffix=".$suffix"

# Close all browser tabs that contain local domain suffix.
osascript >/dev/null 2>&1 <<EOD
osascript <<EOD
set ideapp to "$ideapp"
set gitapp to "$gitapp"
Expand All @@ -31,7 +31,7 @@ osascript >/dev/null 2>&1 <<EOD
end repeat
end repeat
on error
display dialog error
display dialog errMsg as text
end
end tell
EOD
Expand Down
4 changes: 2 additions & 2 deletions include/terminus
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ if type $terminus >/dev/null 2>&1; then
while [[ $i -le $count ]]
do
if [[ $env == 'dev' ]]; then
$terminus drush "$site.${steps[$i]}" updb && $terminus drush "$site.${steps[$i]}" -- cim -y && $terminus drush "$site.${steps[$i]}" cr
$terminus drush "$site.${steps[$i]}" updb && $terminus drush "$site.${steps[$i]}" cr && $terminus drush "$site.${steps[$i]}" -- cim -y
else
$terminus env:deploy "$site.${steps[$i]}" && $terminus drush "$site.${steps[$i]}" updb && $terminus drush "$site.${steps[$i]}" -- cim -y && $terminus drush "$site.${steps[$i]}" cr
$terminus env:deploy "$site.${steps[$i]}" && $terminus drush "$site.${steps[$i]}" updb && $terminus drush "$site.${steps[$i]}" cr && $terminus drush "$site.${steps[$i]}" -- cim -y
fi
((i++))
done
Expand Down

0 comments on commit 9fa8665

Please sign in to comment.