styledocco
Version:
Generate documentation and style guides with design patterns from stylesheets.
25 lines (17 loc) • 626 B
Plain Text
BROWSER = opera
all:
test:
@./node_modules/.bin/nodeunit test
test-browser: test-browser/tests.js
@$(BROWSER) test-browser/test.html
test-browser/tests.js: test/
@./node_modules/.bin/browserify test-browser/browserify-entry.js \
-o test-browser/tests.js
examples:
@./bin/styledocco -n StyleDocco -o ./examples/styledocco \
--include share/previews.css --include share/docs.ui.js share/docs.css
@./bin/styledocco -n "Twitter Bootstrap" -o ./examples/bootstrap/docs \
examples/bootstrap/less
lint:
@./node_modules/.bin/jshint styledocco.js cli.js share/ bin/
.PHONY: all test test-browser pages examples lint