<commit_before># -- 
#
# quorra makefile
# 
# @author <<EMAIL>>
# ------------------------------------------------

# config
# ------
DIST_PATH = dist
TESTS     = 
VERSION   = `python -c 'import json; print json.load(open("bower.json", "r"))["version"]'`


# targets
# -------
default: build
	@true


requirements:
	bower install
	npm install

build:
	grunt


.PHONY: test
test: build
	./node_modules/mocha-phantomjs/bin/mocha-phantomjs tests/tests.html 


.PHONY: docs
docs:
	./node_modules/.bin/jsdoc -c .jsdoc.json


.PHONY: clean-docs
clean-docs:
	rm -rf docs/_html


clean: clean-docs
	rm -rf build node_modules lib


release: test build
	TAG=$(VERSION) && git commit -m "quorra, release $$TAG" || echo "distribution already added"
	TAG=$(VERSION) && git tag -d $$TAG || echo "local tag available"
	TAG=$(VERSION) && git push origin :$$TAG || echo "remote tag available"
	TAG=$(VERSION) && git tag $$TAG && git push origin $$TAG
<commit_msg>abstracted remote for release target<commit_after># -- 
#
# quorra makefile
# 
# @author <<EMAIL>>
# ------------------------------------------------

# config
# ------
DIST_PATH = dist
TESTS     = 
VERSION   = `python -c 'import json; print json.load(open("bower.json", "r"))["version"]'`
REMOTE    = origin


# targets
# -------
default: build
	@true


requirements:
	bower install
	npm install

build:
	grunt


.PHONY: test
test: build
	./node_modules/mocha-phantomjs/bin/mocha-phantomjs tests/tests.html 


.PHONY: docs
docs:
	./node_modules/.bin/jsdoc -c .jsdoc.json


.PHONY: clean-docs
clean-docs:
	rm -rf docs/_html


clean: clean-docs
	rm -rf build node_modules lib


release:
	TAG=$(VERSION) && git commit -m "quorra, release $$TAG" || echo "distribution already added"
	TAG=$(VERSION) && git tag -d $$TAG || echo "local tag available"
	TAG=$(VERSION) && git push $(REMOTE) :$$TAG || echo "remote tag available"
	TAG=$(VERSION) && git tag $$TAG && git push $(REMOTE) $$TAG

{'fraction_non_alphanumeric': 0.20787973043027475, 'fraction_numerical': 0.0, 'mean_word_length': 2.806706114398422, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, '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': '577621', 'n_tokens_mistral': 698, 'n_tokens_neox': 653, 'n_words': 190}