<commit_before>DEVFLAGS=--flag lypaste:dev -j 5 

all: build rundev

setup:
	stack setup
	stack build yesod-bin .

db_setup:
	@echo "You can ignore the error messages."
	sudo -u postgres createuser -s lypaste
	sudo -u postgres createdb lypaste -U lypaste

build:
	stack build ${DEVFLAGS}

rundev:
	stack exec -- yesod devel

test:
	stack build ${DEVFLAGS} --test

prod:
	stack build

clean:
	stack clean

really_clean:<commit_msg>Use vanilla lypaste executable for rundev<commit_after>DEVFLAGS=--flag lypaste:dev -j 5 

all: build rundev

setup:
	stack setup
	stack build yesod-bin .

db_setup:
	@echo "You can ignore the error messages."
	sudo -u postgres createuser -s lypaste
	sudo -u postgres createdb lypaste -U lypaste

build:
	stack build ${DEVFLAGS}

# For some reason, yesod devel isn't properly rebuilding the
# development version, so we're using the vanilla lypaste executable.
rundev:
	stack exec -- lypaste

test:
	stack build ${DEVFLAGS} --test

prod:
	stack build

clean:
	stack clean

really_clean:
{'fraction_non_alphanumeric': 0.07980295566502463, 'fraction_numerical': 0.0019704433497536944, 'mean_word_length': 3.9320388349514563, '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': '6751193', 'n_tokens_mistral': 368, 'n_tokens_neox': 350, 'n_words': 131}