Makefile
raw| 1 | minify: real-minify test-minified |
| 2 | |
| 3 | real-minify: strftime.js |
| 4 | rm -f strftime-min.js |
| 5 | closure-compiler <strftime.js >|strftime-min.js |
| 6 | |
| 7 | test: |
| 8 | TZ=America/Vancouver node test.js |
| 9 | TZ=Europe/Amsterdam node test.js |
| 10 | |
| 11 | test-minified: minify |
| 12 | TZ=America/Vancouver node test.js ./strftime-min.js |
| 13 | TZ=Europe/Amsterdam node test.js ./strftime-min.js |
| 14 | |
| 15 | .PHONY: test test-minified |