Skip to content

Instantly share code, notes, and snippets.

@tomelam
Forked from jasonmelgoza/Makefile
Created October 1, 2021 12:04
Show Gist options
  • Save tomelam/2a974f1a1875e6664013566db648d76b to your computer and use it in GitHub Desktop.
Save tomelam/2a974f1a1875e6664013566db648d76b to your computer and use it in GitHub Desktop.
Makefile - stylus
# Output Directory
OUTPUT = ../lib
all: css
css:
@echo "stylus => css"
@stylus \
-c \
-u nib \
< style.styl \
> $(OUTPUT)/style.css
watch:
watch --interval=1 $(MAKE) all
.PHONY: all css watch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment