All Javascript is compiled using Grunt. Assuming that both Node & Node Package Manager are installed, run the following commands using Terminal in this directory:
# Install Grunt CLI globally
$ npm install -g grunt-cli
# Install this project's dependencies
$ npm install
# Run Grunt
$ grunt
$ grunt watch
Unit tests for this plugin live in the tests/phpunit
directory. To run:
- Install Composer
- Install PHPUnit (
composer install
) - Install the core WP Unit Test library and configure a test install (
bin/install-wp-tests
) - Run the tests (
./vendor/bin/phpunit
)