You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If anything goes wrong and you suspect your local is frozen, you can always make choose-violence to rebuild the local environment and containers. Hopefully you never have to choose violence. :)
Build and Testing
make build
Note, assets will also build during the install phase.
You can run all testing (all lints and unit tests) together with the following:
make test
The project uses the Brain Monkey library for unit testing. Once setup run the following for unit tests:
make test-unit
The project uses the WordPress e2e tests. Run the following for e2e tests:
or, to run an individual lint (php or javascript), use one of the following:
make test-lint-php
make test-lint-javascript
Screw something up? You can reset your environment with the following. It will stop the environment and cleanup and the build files as well as anything downloaded.
make reset
Preparing for release
To generate a .zip that can be uploaded through any normal WordPress plugin installation workflow, simply run the following: