A New Structure for WordPress Core
This is the structure we plan on using for the new WordPress development repository, which will live at
develop.svn.wordpress.org. Needless to say, it is a work in progress.
If you'd like to learn more about this project or provide feedback, please read this post.
- Install Node.js: You can download and install the package or use a package manager, like Homebrew.
- Install the Grunt CLI: After installing Node, run
npm install -g grunt-cliin your shell.
Once you've installed Node.js and the Grunt CLI, you're ready to get started.
- Clone this repository in a directory of your choice by running
git clone https://github.com/koop/develop.git.
- Navigate to the directory in your shell.
grunt setup. This is a temporary step to pull in code that will eventually live inside of the develop repository.
src directory contains the WordPress core files. You can develop against the
src directory like you normally would develop against trunk.
Generates the production-optimized source in the
Currently in development (like everything else), and will likely be split into several tasks. Grunt can watch files as you develop and provide instant feedback. In this case, it copies changed files over to the
A temporary task that pulls in code that will eventually live inside of the repository. Checks out a copy of WordPress core into the