https://github.com/godaddy-wordpress/go-plugin
https://github.com/godaddy-wordpress/go-plugin
Last synced: 10 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/godaddy-wordpress/go-plugin
- Owner: godaddy-wordpress
- License: gpl-2.0
- Created: 2020-06-29T21:29:25.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2022-04-22T21:35:26.000Z (about 4 years ago)
- Last Synced: 2025-06-06T18:50:23.405Z (about 1 year ago)
- Language: PHP
- Size: 113 KB
- Stars: 0
- Watchers: 6
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go Plugin: Layouts for the CoBlocks Layout Selector
## Development
1. Clone the GitHub repository: `git@github.com:godaddy-wordpress/go-plugin.git` into your WordPress installations `wp-content/plugins` directory. The folder name should be `go-plugin`.
2. Browse to the folder in the command line.
3. Run the `composer install` command to install the plugin's development dependencies.
## Development Commands
**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.
## Releasing a new version
This repo is utilizing GitHub Actions and the [`10up/action-wordpress-plugin-deploy`](https://github.com/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.