<commit_before>.PHONY: glide deps initdb inittest

glide:
	mkdir ${GOPATH}/bin
	curl https://glide.sh/get | sh

deps:
	glide install

initdb:
	@echo "initializing database..."
	@mysql -u root -e "DROP DATABASE IF EXISTS apidb;"
	@mysql -u root -e "CREATE DATABASE apidb;"
	@mysql -u root apidb < sql/authapi.sql

inittest: initdb
	@mysql -u root apidb < sql/test_data.sql<commit_msg>update: remove task dependency<commit_after>.PHONY: glide deps initdb inittest

glide:
	mkdir ${GOPATH}/bin
	curl https://glide.sh/get | sh

deps:
	glide install

initdb:
	@echo "initializing database..."
	@mysql -u root -e "DROP DATABASE IF EXISTS apidb;"
	@mysql -u root -e "CREATE DATABASE apidb;"
	@mysql -u root apidb < sql/authapi.sql

inittest:
	@mysql -u root apidb < sql/test_data.sql
{'fraction_non_alphanumeric': 0.12242268041237113, 'fraction_numerical': 0.0, 'mean_word_length': 3.8260869565217392, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '3444661', 'n_tokens_mistral': 319, 'n_tokens_neox': 308, 'n_words': 93}