David Majda
5013f79e8d
Make "jake clean" and "jake distclean" check deleted directory existence
...
Closes GH-52.
13 years ago
David Majda
c8c5187768
Make "jake hint" check benchmark/index.js
13 years ago
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.
13 years ago
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).
14 years ago
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.
14 years ago
David Majda
66e5418052
Build also minified version for the web in "jake dist"
14 years ago
David Majda
81fbbd7897
Make "test" and "benchmark" Jakefile tasks depend on "build"
...
This ensures the version tested/benchmarked is always up-to-date.
14 years ago
David Majda
d00ba29ead
Add "clean" and "distclean" Jakefile tasks
14 years ago
David Majda
69044e9d0b
Add "dist" Jakefile task that prepares the distribution files
14 years ago
David Majda
4e81eb48af
Add "jake test" and "jake benchmark"
14 years ago
David Majda
1a3291fa36
Jakefile: Put the LIB_DIR existence check & creation at the right place
14 years ago
David Majda
88f901f36e
Jakefile: Create the "lib" directory if it does not exist
...
Closes GH-14.
Closes GH-15.
14 years ago
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.
14 years ago
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).
14 years ago