<commit_before>SHELL := /bin/bash

clean:
	rm -rf bower_components/
	rm -rf static/bootstrap
	rm -rf static/jquery
	rm -rf static/js/angular.min.js
	rm -rf static/js/colorconverter.js

bowerinstall:
	npm install
	bower install
	pushd bower_components/bootstrap/; npm install; make; make bootstrap; popd
	pushd bower_components/hue-color-converter/; tsc colorconverter.ts; popd

install: bowerinstall
	mkdir -p static
	cp -r bower_components/bootstrap/bootstrap static/
	cp -r bower_components/jquery static/
	mkdir -p static/js
	cp -r js/ static/js/
	cp -r bower_components/angular/angular.min.js static/js/
	cp -r bower_components/angular-bootstrap/ui-bootstrap-tpls.min.js static/js/
	cp -r bower_components/hue-color-converter/colorconverter.js static/js/

developjs:
	ln -sf ../../js/marvin.js static/js/marvin.js<commit_msg>if you create the directory and then cp -r js/ into it then it creates static/js/js<commit_after>SHELL := /bin/bash

clean:
	rm -rf bower_components/
	rm -rf static/bootstrap
	rm -rf static/jquery
	rm -rf static/js/angular.min.js
	rm -rf static/js/colorconverter.js

bowerinstall:
	# install node dependencies in package.json
	npm install
	bower install
	pushd bower_components/bootstrap/; npm install; make; make bootstrap; popd
	pushd bower_components/hue-color-converter/; tsc colorconverter.ts; popd

install: bowerinstall
	mkdir -p static
	cp -r bower_components/bootstrap/bootstrap static/
	cp -r bower_components/jquery static/
	cp -r js/ static/js/
	cp bower_components/angular/angular.min.js static/js/
	cp bower_components/angular-bootstrap/ui-bootstrap-tpls.min.js static/js/
	cp bower_components/hue-color-converter/colorconverter.js static/js/

developjs:
	ln -sf ../../js/marvin.js static/js/marvin.js
{'fraction_non_alphanumeric': 0.10378440366972477, 'fraction_numerical': 0.0, 'mean_word_length': 3.901685393258427, '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': '2676551', 'n_tokens_mistral': 631, 'n_tokens_neox': 619, 'n_words': 159}