-
-
Save tomelam/04d34b1468c3cfccb340dc1248cb2391 to your computer and use it in GitHub Desktop.
Makefile - coffee/jade/stylus
This file contains 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
# Output Directory | |
OUTPUT = ../lib | |
all: css html js | |
css: | |
@echo "stylus => css" | |
@stylus \ | |
-c \ | |
-u nib \ | |
< style.styl \ | |
> $(OUTPUT)/style.css | |
html: | |
@echo "jade => html" | |
@jade \ | |
-o "{}" \ | |
< index.jade \ | |
> index.html | |
js: | |
@echo "coffee => js" | |
@coffee -bco \ | |
$(OUTPUT) script.coffee | |
watch: | |
watch --interval=1 $(MAKE) all | |
.PHONY: all css html js watch |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment