A WordPress plugin skeleton (and build system)
My workspace is currently set up like this:
Repos
|- wordpress (a full WordPress install)
|- wp-plugin (this package)
So, starting at Repos:
git clone git@github.com:thomasphorton/wp-plugin.gitcd wp-pluginnpm installgrunt watch
If your WordPress install is not in the same relative location as mine, edit /tasks/options/copy.js to reference the 'wp-plugins' directory of your installation.
cp .ftppass.example .ftppass- Edit
.ftppassto include your FTP credentials.
Use grunt ftp-deploy to push to your FTP.