Project outdated
This is a basic bootstrap to develop WordPress plugins using Grunt, Compass, GIT and SVN.
You will use your GIT repository as plugin development environment and the WordPress plugin repository as production environment.
Being possible to run commands with the Grunt to deploy its new versions.
This project was made based on WordPress-Plugin-Boilerplate by tommcfarlin.
Clone this repo:
$ git clone https://github.com/claudiosanches/wordpress-plugin-boilerplate.git
Install the dependencies of the grunt:
$ npm install
Finally rename the files as you want and create your GIT repository.
Lint, compile and compress the files:
$ grunt
Watch the project:
$ grunt watch
Deploy with svn:
$ grunt deploy
- Updated the dependencies.
- Fixed the assets directories based on WordPress-Plugin-Boilerplate by tommcfarlin.
- Improved the grunt tasks.
- Added .jshintrc with WordPress standards.
- Fixed the
indent_style
totab
in .editorconfig file.
- Updated the grunt tasks.
- Improved the rsync tasks.
- Updated the grunt tasks.
- Added .editorconfig.
- Added .jshintrc.
- Removed config.rb in favor to grunt compass task.
- Improved the code.
- Initial version.
WordPress Plugin Boilerplate is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
WordPress Plugin Boilerplate is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
Get a copy of the GNU General Public License in http://www.gnu.org/licenses/.