Skip to content

Commit

Permalink
Add sass -> css to Makefile.
Browse files Browse the repository at this point in the history
  • Loading branch information
Geordan Rosario committed Dec 3, 2012
1 parent dd026d1 commit 8d17471
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,16 @@ HAMLS=$(wildcard *.haml)
HTMLS=$(HAMLS:.haml=.html)
COFFEES=$(wildcard *.coffee)
JAVASCRIPTS=$(COFFEES:.coffee=.js)
SASSES=$(wildcard *.sass)
CSSES=$(SASSES:.sass=.css)

all: $(JAVASCRIPTS) $(HTMLS)
all: $(JAVASCRIPTS) $(HTMLS) $(CSSES)

%.js: %.coffee
coffee -c $<

%.html: %.haml
haml -f html5 $< $@

%.css: %.sass
sass $< $@

0 comments on commit 8d17471

Please sign in to comment.