Skip to content

Instantly share code, notes, and snippets.

@stephenmathieson
Created April 10, 2014 12:51
Show Gist options
  • Save stephenmathieson/10378829 to your computer and use it in GitHub Desktop.
Save stephenmathieson/10378829 to your computer and use it in GitHub Desktop.
LESS = $(wildcard lib/*/*.less)
CSS = $(LESS:.less=.css)
COFFEE = app.coffee $(wildcard lib/*/*.coffee)
JS = $(COFFEE:.coffee=.js)
all: start
start: $(JS) %(CSS)
node app.js
%.css: %.less
"node_modules/.bin/less" $<
%.js: %.coffee
command_to_convert_coffeescript_to_js $<
.PHONY: all start
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment