<commit_before>all: test

filename=markment-`python -c 'import markment.version;print markment.version.version'`.tar.gz

export PYTHONPATH:=  ${PWD}

test: clean unit functional docs integration

unit: clean
	@echo "Running unit tests"
	@nosetests --cover-branches --with-coverage  --cover-erase --cover-package=markment --stop -v -s tests/unit

functional: clean prepare
	@echo "Running functional tests"
	@nosetests --stop -v -s tests/functional

integration: clean
	@python markment/bin.py -t slate -o ./_public/ example

docs: clean
	@steadymark spec/*.md
	@python markment/bin.py -o . -t bootstrap spec

clean:
	@printf "Cleaning up files that are already in .gitignore... "
	@for pattern in `cat .gitignore`; do rm -rf $$pattern; find . -name "$$pattern" -exec rm -rf {} \;; done
	@echo "OK!"

release: test
	@./.release
	@python setup.py sdist register upload

prepare:
	@mkdir -p output

theme:
	@python markment/bin.py -t bootstrap-full --server spec

run: clean
	@reset && python markment/server.py<commit_msg>fixing makefile<commit_after>all: test

filename=markment-`python -c 'import markment.version;print markment.version.version'`.tar.gz

export PYTHONPATH:=  ${PWD}

test: clean unit functional integration

unit: clean
	@echo "Running unit tests"
	@nosetests --cover-branches --with-coverage  --cover-erase --cover-package=markment --stop -v -s tests/unit

functional: clean prepare
	@echo "Running functional tests"
	@nosetests --stop -v -s tests/functional

integration: clean
	@python markment/bin.py -t slate -o ./_public/ example

docs: clean
	@steadymark spec/*.md
	@git co gh_pages && git merge master && python markment/bin.py -o . -t bootstrap spec && git add . && git commit -am 'documentation' && git push
clean:
	@printf "Cleaning up files that are already in .gitignore... "
	@for pattern in `cat .gitignore`; do rm -rf $$pattern; find . -name "$$pattern" -exec rm -rf {} \;; done
	@echo "OK!"

release: test
	@./.release
	@python setup.py sdist register upload

prepare:
	@mkdir -p output

theme:
	@python markment/bin.py -t bootstrap-full --server spec

run: clean
	@reset && python markment/server.py
{'fraction_non_alphanumeric': 0.13214620431115276, 'fraction_numerical': 0.0, 'mean_word_length': 3.7234513274336285, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1603790', 'n_tokens_mistral': 726, 'n_tokens_neox': 708, 'n_words': 241}