Skip to content

Commit

Permalink
Update install-wp-tests.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentkoc committed Jan 9, 2019
1 parent 6075890 commit 5036027
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bin/install-wp-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -176,12 +176,15 @@ link_this_project() {
echo "WP-CLI Installing and Activating core $WP_PROJECT_TYPE $FOLDER_NAME for testing"
case $WP_PROJECT_TYPE in
'plugin' )
ln -s $FOLDER_PATH $WP_CORE_DIR/wp-content/plugins/$FOLDER_NAME
#ln -s $FOLDER_PATH $WP_CORE_DIR/wp-content/plugins/$FOLDER_NAME
cp -rf $FOLDER_PATH $WP_CORE_DIR/wp-content/plugins/
php wp-cli.phar plugin activate --all --path=$WP_CORE_DIR
php wp-cli.phar plugin list --path=$WP_CORE_DIR
;;
'theme' )
ln -s $FOLDER_PATH $WP_CORE_DIR/wp-content/themes/$FOLDER_NAME
php wp-cli.phar theme activate $FOLDER_NAME --path=$WP_CORE_DIR
php wp-cli.phar theme list --path=$WP_CORE_DIR
;;
esac
}
Expand Down

0 comments on commit 5036027

Please sign in to comment.