David Majda
c8c5187768
Make "jake hint" check benchmark/index.js
2011-09-18 16:25:47 +02:00
David Majda
c7f99019c2
Add "jake hint" task that checks all javaScript files using JSHint
...
This currently outputs many issues. These will be fixed in subsequent
commits.
2011-09-18 16:25:46 +02:00
David Majda
9e9062d827
Use --ascii option when generating a minified version
...
This makes the minified version actually work and not cause syntax
errors when loaded into a browser (this happened with Chrome and Firefox
at least).
2011-04-14 19:46:04 +02:00
David Majda
8d8a5e322f
Fix @VERSION substitution in build-time preprocessing
...
The code didn't work properly when multiple @VERSION strings were
present in a preprocessed file.
2011-04-02 16:06:33 +02:00
David Majda
66e5418052
Build also minified version for the web in "jake dist"
2011-04-02 16:04:31 +02:00
David Majda
81fbbd7897
Make "test" and "benchmark" Jakefile tasks depend on "build"
...
This ensures the version tested/benchmarked is always up-to-date.
2011-04-02 13:49:11 +02:00
David Majda
d00ba29ead
Add "clean" and "distclean" Jakefile tasks
2011-04-02 13:45:07 +02:00
David Majda
69044e9d0b
Add "dist" Jakefile task that prepares the distribution files
2011-04-02 12:11:11 +02:00
David Majda
4e81eb48af
Add "jake test" and "jake benchmark"
2011-01-26 16:28:52 +01:00
David Majda
1a3291fa36
Jakefile: Put the LIB_DIR existence check & creation at the right place
2011-01-25 10:35:48 +01:00
David Majda
88f901f36e
Jakefile: Create the "lib" directory if it does not exist
...
Closes GH-14.
Closes GH-15.
2011-01-24 13:57:48 +01:00
David Majda
4c59bbfef9
Fixes to previous commit
...
Require PEG only in the "parser" task -- it may not exist when executing
the "build" task. Also don't make the "build" task dependent on the
"parser" to break a dependency circle.
2011-01-24 13:55:14 +01:00
David Majda
f3845726f2
Rakefile -> Jakefile
...
Or, swapped Ruby dependency for a Node dependency.
The build script was also modified to always regenerate the parser (in
case of the "parser" task) or rebuild the library (in case of the
"build" task) even if the source files were not modified. Not doing this
led to problems when the generating code changed but the files didn't
(which happened often during development).
2011-01-24 13:51:50 +01:00