Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Fetching latest commit…

Cannot retrieve the latest commit at this time

..
Failed to load latest commit information.
fonts
Markdown-License.text
Markdown.pl
README.md
dist-build.sh
dist-site.js
ie.css
init.js
main.css
post.html
pre.html

README.md

RequireJS dist

This directory contains the tools that are used to build distributions of RequireJS and its web site.

When doing a release, do the following:

  • Update files to the new version number:
    • require.js
    • README.md
    • docs/download.md: check for nested paths too, add new release section
    • pre.html
  • Update integrated jQuery versioned-builds:
    • Save a built jQuery to build/jquery
    • Make sure to apply changes from previous converted jQuery to new one via examining diffs.
    • Be sure to add /** * @license to the jQuery license block so that it survives google closure compiler.
    • Update build/jquery/require-jquery.build.js and requireplugins-jquery.build.js to reference the new version of jQuery.
    • Update dist/dist-build.sh to reference the right jQuery file.
  • Commit/push changes

  • Tag the tree:

    • git tag -am "Release 0.0.0" 0.0.0
    • git push --tags

Now pull down the tagged version to do a distribution:

  • git clone git://github.com/jrburke/requirejs.git requirejs-dist
  • cd requirejs-dist
  • git checkout 0.0.0
  • cd dist

Run the distribution tasks.

To generate the web site:

  • java -jar ../build/lib/rhino/js.jar dist-site.js

To generate a build

  • ./dist-build.sh 0.0.0

When done, reset versions to:

  • 0.0.0+ in require.js
  • X.X.X in pre.html
Something went wrong with that request. Please try again.