ci: minor tweaks to build script
This commit is contained in:
parent
94c480900a
commit
7054f93c7c
1 changed files with 1 additions and 2 deletions
|
@ -1,7 +1,5 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
# TODO: Add transpilation to PHP 7.4
|
|
||||||
|
|
||||||
echo "Building Plugin..."
|
echo "Building Plugin..."
|
||||||
|
|
||||||
# Moves everything including the style sheets over to `dist/`
|
# Moves everything including the style sheets over to `dist/`
|
||||||
|
@ -39,6 +37,7 @@ echo "Downgrading to PHP 7.4..."
|
||||||
echo "Downgrading complete."
|
echo "Downgrading complete."
|
||||||
|
|
||||||
if [[ $1 == "-v" ]]; then
|
if [[ $1 == "-v" ]]; then
|
||||||
|
echo "Moving to VVV..."
|
||||||
rm -rf ../VVV/www/wordpress-two/public_html/wp-content/plugins/footnotes
|
rm -rf ../VVV/www/wordpress-two/public_html/wp-content/plugins/footnotes
|
||||||
mv dist footnotes && mv footnotes ../VVV/www/wordpress-two/public_html/wp-content/plugins
|
mv dist footnotes && mv footnotes ../VVV/www/wordpress-two/public_html/wp-content/plugins
|
||||||
fi
|
fi
|
||||||
|
|
Reference in a new issue