Skip to content

Latest commit

 

History

History
34 lines (18 loc) · 1.25 KB

DEVELOPMENT.md

File metadata and controls

34 lines (18 loc) · 1.25 KB

For developers Build Status

Running the tests

  • Install all required dependencies using npm (Karma, Jasmine, PHPUnit):

    npm install

  • All unit tests (JavaScript and PHP) can then be run with

    npm test

JavaScript tests will be run in PhantomJS by default. You can change the browser in tests-js/karma.conf.js.

Configuring IntelliJ IDEA

To make development easier, preconfigured IntelliJ IDEA or PHPStorm project files are already in this repository.

Install the following plugins:

  • PHP (if using IDEA)
  • Karma

Run configurations are also provided for running of unit tests.

Publishing new versions to WordPress Plugin Directory

This plugin is published to WordPress Plugin Directory, which hosts plugins in Subversion repository.

Travis build is configured to try to publish the code to Subversion on every successful build.

It will do so only if Version tag has changed in redpen.php file.

To publish manually, you can use publish.sh.