<commit_before>pwd = $(CURDIR)
bin = $(pwd)/node_modules/.bin
coffee = "$(bin)/coffee"
githash = `git rev-parse --short HEAD`
gulp = "$(bin)/gulp"

all: build

bootstrap:
	npm install
	cd test/phantomjs; "$(bin)/bower" install

unbootstrap:
	rm -Rf node_modules
	rm -Rf test/phantomjs/bower

clean:
	rm -rf build

build: bootstrap clean 
	mkdir -p build
	$(gulp) build:release

debug: bootstrap clean 
	mkdir -p build
	$(gulp) build:debug

watch: bootstrap 
	$(gulp) watch

test: bootstrap 
	$(gulp) test

coverage: bootstrap
	$(bin)/coffeeCoverage ./framer ./build/instrumented
	$(gulp) coverage
	cp ./test/coverage-template/* ./build/coverage<commit_msg>MakeFile Watcher<commit_after>pwd = $(CURDIR)
bin = $(pwd)/node_modules/.bin
coffee = "$(bin)/coffee"
githash = `git rev-parse --short HEAD`
gulp = "$(bin)/gulp"

all: build

bootstrap:
	npm install
	cd test/phantomjs; "$(bin)/bower" install

unbootstrap:
	rm -Rf node_modules
	rm -Rf test/phantomjs/bower

clean:
	rm -rf build

build: bootstrap clean 
	mkdir -p build
	$(gulp) build:release

debug: bootstrap clean 
	mkdir -p build
	$(gulp) build:debug

watch: bootstrap 
	$(gulp) watch

watcher: bootstrap 
	$(gulp) watcher

test: bootstrap 
	$(gulp) test

coverage: bootstrap
	$(bin)/coffeeCoverage ./framer ./build/instrumented
	$(gulp) coverage
	cp ./test/coverage-template/* ./build/coverage
{'fraction_non_alphanumeric': 0.14042867701404288, 'fraction_numerical': 0.0, 'mean_word_length': 4.071161048689139, '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': '577487', 'n_tokens_mistral': 542, 'n_tokens_neox': 495, 'n_words': 138}