UNPKG

611 BPlain TextView Raw
1
2SRC = $(shell find lib -name "*.js")
3TM_BUNDLE = editors/Stylus.tmbundle
4TM_BUNDLE_DEST = ~/Library/Application\ Support/TextMate/Bundles
5
6test: test-integration
7
8test-integration:
9 @node test/run.js
10
11docs: docs/index.html
12
13docs/index.html: $(SRC)
14 @mkdir -p docs
15 dox \
16 --title "Stylus" \
17 --desc "Expressive, dynamic, robust CSS for nodejs" \
18 --ribbon http://github.com/learnboost/stylus \
19 --private \
20 $^ > $@
21
22install-bundle:
23 cp -fr $(TM_BUNDLE) $(TM_BUNDLE_DEST)
24
25update-bundle:
26 cp -fr $(TM_BUNDLE_DEST)/Stylus.tmbundle editors
27
28.PHONY: test test-integration install-bundle docs update-bundle
\No newline at end of file