Skip to content

Commit

Permalink
💧 DRI - master:
Browse files Browse the repository at this point in the history
  • Loading branch information
brandoncamenisch committed Dec 20, 2019
1 parent cc64fe5 commit 0326ea4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions build-me-vvv.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,16 +48,16 @@ vagrant ssh -- -t 'if ! grep PMC_PHPUNIT_BOOTSTRAP ~/.bashrc; then echo export P
for i in $(ls -d www/pmc-* | xargs -n1 basename)
do
git clone https://bitbucket.org/penskemediacorp/$i.git www/$i/public_html/wp-content/themes/$i
vagrant ssh -- -t "mkdir -p /srv/www/$i/public_html/wp-content/mu-plugins && ln -sf /srv/www/pmc/pmc-plugins /srv/www/$i/public_html/wp-content/plugins && ln -sf /srv/www/pmc/pmc-vip-go-plugins/* /srv/www/$i/public_html/wp-content/plugins"
vagrant ssh -- -t "mkdir -p /srv/www/$i/public_html/wp-content/mu-plugins && ln -sfv /srv/www/pmc/pmc-plugins /srv/www/$i/public_html/wp-content/plugins && ln -sfv /srv/www/pmc/pmc-vip-go-plugins/* /srv/www/$i/public_html/wp-content/plugins"
echo "Is $i go or wpcom?"
select yn in "go" "wpcom"; do case $yn in
go ) vagrant ssh -- -t "ln -sf /srv/www/pmc/vip-go-mu-plugins-built/* /srv/www/$i/public_html/wp-content/mu-plugins" && break;;
wpcom ) vagrant ssh -- -t "ln -sf /srv/www/pmc/vip-wpcom-mu-plugins/* /srv/www/$i/public_html/wp-content/mu-plugins" && break;;
go ) vagrant ssh -- -t "ln -sfv /srv/www/pmc/vip-go-mu-plugins-built/* /srv/www/$i/public_html/wp-content/mu-plugins" && break;;
wpcom ) vagrant ssh -- -t "ln -sfv /srv/www/pmc/vip-wpcom-mu-plugins/* /srv/www/$i/public_html/wp-content/mu-plugins" && break;;
esac
done
echo "Does $i use pmc-core-v2?"
select yn in "yes" "no"; do case $yn in
yes ) vagrant ssh -- -t "mkdir -p /srv/www/$i/public_html/wp-content/themes/vip && ln -sf /srv/www/pmc/pmc-core-v2 /srv/www/$i/public_html/wp-content/themes/vip" && break;;
yes ) vagrant ssh -- -t "mkdir -p /srv/www/$i/public_html/wp-content/themes/vip && ln -sfv /srv/www/pmc/pmc-core-v2 /srv/www/$i/public_html/wp-content/themes/vip" && break;;
no ) break;;
esac
done
Expand Down

0 comments on commit 0326ea4

Please sign in to comment.