Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

file 29 lines (21 sloc) 0.591 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29

SRC = $(shell find lib -name "*.js")
TM_BUNDLE = editors/Stylus.tmbundle
TM_BUNDLE_DEST = ~/Library/Application\ Support/TextMate/Bundles
REPORTER = dot

test:
@./node_modules/.bin/mocha \
--require should \
--bail \
--reporter $(REPORTER)

test-cov: lib-cov
STYLUS_COV=1 $(MAKE) REPORTER=html-cov > coverage.html

lib-cov: lib
jscoverage $< $@

install-bundle:
mkdir -p $(TM_BUNDLE_DEST)
cp -fr $(TM_BUNDLE) $(TM_BUNDLE_DEST)

update-bundle:
cp -fr $(TM_BUNDLE_DEST)/Stylus.tmbundle editors

benchmark:
@node bm.js

.PHONY: test install-bundle update-bundle benchmark test-cov
Something went wrong with that request. Please try again.