- Clone the GitHub repository:
git@github.com:godaddy-wordpress/go-plugin.gitinto your WordPress installationswp-content/pluginsdirectory. The folder name should bego-plugin. - Browse to the folder in the command line.
- Run the
composer installcommand to install the plugin's development dependencies.
Linting and auto-formatting:
Run composer lint to run code styling checks and composer format for the auto-formatter to fix what it can.
Generating the .pot file:
Run composer makepot to generate a new translation langauges/go-plugin.pot file.
Build a release zip file
Run composer build-release to generate a production ready .zip file should you need to.
This repo is utilizing GitHub Actions and the 10up/action-wordpress-plugin-deploy action to push new deployments to the plugin repo. Simply tagging a new release will trigger the workflow and deploy a new version.