<commit_before>.PHONY: install test deploy run

TESTS := $(shell find ./src -name "test.js")

install:
	@ # Install the app
	@echo "Installing phantom bootstrapper"
	@npm install

test:
	@ # Run some mocha tests
	@./node_modules/.bin/mocha $(TESTS)

deploy:
	@echo "Deploying heroku master"
	@git push heroku master
	@heroku config:set NODE_ENV=production

run:
	@echo "Running locally via foreman"
	@node_modules/.bin/nf start<commit_msg>Turn maint mode on when deploying<commit_after>.PHONY: install test deploy run

TESTS := $(shell find ./src -name "test.js")

install:
	@ # Install the app
	@echo "Installing phantom bootstrapper"
	@npm install

test:
	@ # Run some mocha tests
	@./node_modules/.bin/mocha $(TESTS)

deploy:
	@echo "Deploying heroku master"
	@heroku maintenance:on
	@git push heroku master
	@heroku maintenance:off
	@heroku config:set NODE_ENV=production

run:
	@echo "Running locally via foreman"
	@node_modules/.bin/nf start
{'fraction_non_alphanumeric': 0.1119324181626188, 'fraction_numerical': 0.0, 'mean_word_length': 4.511627906976744, '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': '385677', 'n_tokens_mistral': 341, 'n_tokens_neox': 329, 'n_words': 104}