Skip to content

Commit

Permalink
added Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
olivermg committed Apr 16, 2015
1 parent 29b4195 commit bf86930
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
LESS=$(shell which lessc)
COFFEE=$(shell which coffee)

all: coffee less

coffee: public/js/*.coffee
$(COFFEE) -c public/js/*.coffee

less: public/css/*.less
for IF in $^; do \
OF=$$(dirname $$IF)/$$(basename -s .less $$IF).css; \
$(LESS) $$IF >$$OF; \
done

0 comments on commit bf86930

Please sign in to comment.