Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
JavaScript
Branch: master
Failed to load latest commit information.
tools/svnadmin Fix specification of LAST_SYNCED_FILE in syncing script.
.gitignore Add a basic WordPress build process.
Gruntfile.js Ignore SVN externals in the `grunt svn` task.
README.md
license.txt GPLv2 or later.
package.json Add minification for core CSS files.

README.md

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.


Requirements

To take advantage of all of the goodies in the new repository, you'll have to install Node.js and the Grunt CLI.

Getting Started

Once you've installed Node.js and the Grunt CLI, you're ready to get started.

  1. Clone this repository in a directory of your choice by running git clone https://github.com/koop/develop.git.
  2. Navigate to the directory in your shell.
  3. Run npm install.
  4. Run grunt setup. This is a temporary step to pull in code that will eventually live inside of the develop repository.

Documentation

The src directory contains the WordPress core files. You can develop against the src directory like you normally would develop against trunk.

grunt build

Generates the production-optimized source in the build directory.

grunt clean:all

Removes the build directory.

grunt watch

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.

grunt setup

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.

Something went wrong with that request. Please try again.