NARA's 2.0 site
Requirements:
- Install Grunt -
npm install -g grunt-cli
. - Install NPM dependencies -
npm install
.
On a successful run of grunt
or grunt default
:
- All CSS files in
src/css
will be linted and concatenated intostyle.css
. - All Spine JS files in
src/js
will be linted and concatenated intojs/spine.min.js
.
When a new version of the theme is ready:
- Check out the
master
branch and make sure you have pulled all changes. - Check out a new branch for the version bump
version/x.x.x
- Bump the version number in these places:
src/css/00-banner.css
functions.php
package.json
- Run
grunt
so that the version number in banner is applied to the stylesheet. - Commit these changes to the
version/x.x.x
branch. - Push changes to GitHub and open a pull request.
- Once all Travis checks have passed, merge the pull request.
- Tag the new version in GitHub for deployment.