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.
To take advantage of all of the goodies in the new repository, you'll have to install Node.js and the Grunt CLI.
- 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-cli
in 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.
- Run
npm install
. - Run
grunt setup
. This is a temporary step to pull in code that will eventually live inside of the develop repository.
The 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 build
directory.
Removes the build
directory.
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 build
directory.
A temporary task that pulls in code that will eventually live inside of the repository. Checks out a copy of WordPress core into the src
directory.