timrwood/moment — pull request #167 by rockymeza (2012-02-12 03:20:41+00:00)
Title: Makefile improved

I updated the Makefile to follow some general conventions:

- renamed test* to test-*
- added a clean target
- used the .PHONY target for rules that are not tied to files.
- tied rules to actual filenames so that they will be updated when their prerequisites are updated

I also changed some things:

- added a pretty target
- added a hint target for jshint-ing, although perhaps that should be called lint to be more generic.
- fixed the paths to the executables (for jshint, nodeunit, and uglifyjs)
- reduced the devDependencies to jshint, nodeunit, and uglify

I also removed one target, `langtests`, which created the test/all-tests.js file. I'm not sure what the point of that rule was because it `cat`ed some files that didn't even exist.

In addition, I moved test/non-lang to test/moment because I felt that was a better name.