Ability to add the date and the version number from the command line.

This commit is contained in:
Antoine Proulx
2012-03-07 09:55:07 -05:00
parent 7a4bf6ec26
commit a6948ec413
4 changed files with 20 additions and 15 deletions

View File

@@ -12,7 +12,7 @@ Check out the official [KineticJS Tutorials](http://www.html5canvastutorials.com
# Building the library
To build the library, you need to have Ruby and Rubygems installed. After that, install the dependencies by running `bundle install`.
To build a development version of the library, run `thor build:dev`. To build a minify version of the library, run `thor build:prod`.
To build a development version of the library, run `thor build:dev VERSION`, where VERSION is in the format MAJOR.MINOR.PATCH. To build a minify version of the library, run `thor build:prod VERSION`. If you want to add a release date other than the current day, use `-d="DATE"` (e.g. `-d="Mar 07 2012`).
# Adding a new file in the src directory
If you add a file in the src directory, add into the array in the Thorfile.