Created
August 25, 2011 00:23
-
-
Save jocafa/1169653 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| coffeefiles = $(filter-out %.test.coffee,$(shell find \ | |
| Nixie/js/Nixie.coffee \ | |
| Nixie/js/models/*.coffee \ | |
| Nixie/js/collections/*.coffee \ | |
| Nixie/js/Module.coffee \ | |
| Nixie/js/modules/*.coffee \ | |
| Nixie/js/Nixie.Controller.coffee \ | |
| )) | |
| all: \ | |
| Nixie/Nixie.build.js | |
| Nixie/Nixie.build.js: \ | |
| Nixie/js/vendor/vendor.build.js | |
| @echo Building $@ | |
| @cp Nixie/js/vendor/vendor.build.js Nixie/Nixie.build.js | |
| @cat $(coffeefiles) | coffee -sp >> Nixie/Nixie.build.js | |
| Nixie/js/vendor/vendor.build.js: \ | |
| Nixie/js/vendor/zepto.js \ | |
| Nixie/js/vendor/underscore.js \ | |
| Nixie/js/vendor/underscore.string.js \ | |
| Nixie/js/vendor/underscore.date.js \ | |
| Nixie/js/vendor/backbone.js \ | |
| Nixie/js/vendor/crypto-md5.js | |
| @echo Building $@ | |
| @cat $^ > $@ | |
| ugly: all | |
| uglifyjs --overwrite Nixie/Nixie.build.js | |
| test: all | |
| clean: | |
| @rm -f Nixie/Nixie.build.js | |
| @rm -f Nixie/js/vendor/vendor.build.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment