<commit_before>
SRC = $(shell find lib -name "*.js")
TESTS = $(shell find test -name "*.test.js")
TM_BUNDLE = editors/Stylus.tmbundle
TM_BUNDLE_DEST = ~/Library/Application\ Support/TextMate/Bundles

test: test-unit test-integration

test-unit:
	@./support/expresso/bin/expresso \
		-I support \
		-I lib \
		$(TEST_FLAGS) \
		$(TESTS)

test-integration:
	@node test/integration/test.js

test-cov:
	@$(MAKE) test TEST_FLAGS=--cov

docs: docs/index.html

docs/index.html: $(SRC)
	@mkdir -p docs
	dox \
	  --title "Switch" \
    --desc "Expressive CSS language for nodejs" \
		--ribbon http://github.com/learnboost/switch \
		--private \
		$^ > $@

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

.PHONY: test test-unit test-integration install-bundle test-cov docs<commit_msg>Added `make update-bundle<commit_after>
SRC = $(shell find lib -name "*.js")
TESTS = $(shell find test -name "*.test.js")
TM_BUNDLE = editors/Stylus.tmbundle
TM_BUNDLE_DEST = ~/Library/Application\ Support/TextMate/Bundles

test: test-unit test-integration

test-unit:
	@./support/expresso/bin/expresso \
		-I support \
		-I lib \
		$(TEST_FLAGS) \
		$(TESTS)

test-integration:
	@node test/integration/test.js

test-cov:
	@$(MAKE) test TEST_FLAGS=--cov

docs: docs/index.html

docs/index.html: $(SRC)
	@mkdir -p docs
	dox \
	  --title "Switch" \
    --desc "Expressive CSS language for nodejs" \
		--ribbon http://github.com/learnboost/switch \
		--private \
		$^ > $@

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

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

.PHONY: test test-unit test-integration install-bundle test-cov docs update-bundle
{'fraction_non_alphanumeric': 0.15754660252555622, 'fraction_numerical': 0.0, 'mean_word_length': 3.413793103448276, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6353481', 'n_tokens_mistral': 682, 'n_tokens_neox': 651, 'n_words': 141}