Skip to content
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.

Latest commit

 

History

History
25 lines (18 loc) · 870 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 870 Bytes

MT Wordpress Plugin

Build Status

Development

Requirements

  • PHP and Composer (dependency manager for PHP) are installed

Steps

  1. Install the requirements: composer install
  2. Run the unittests: ./vendor/bin/phpunit --bootstrap vendor/autoload.php src/test/php/

Sync required files

Create the CSS files

./node_modules/less/bin/lessc src/less/back-end/back-end.less dist/back-end.css
./node_modules/less/bin/lessc src/less/front-end/front-end.less dist/front-end.css

Sync the required files

rsync -r --relative *.php dist/ languages/ vendor/autoload.php vendor/composer vendor/symfony/polyfill-ctype vendor/myclabs/deep-copy src/js src/js src/main/ <host>:<wordpress-dir>/wp-content/plugins/mt-wp-plugin/