<commit_before>PROJECT := $(subst @,,$(notdir $(shell pwd)))
NAME = $(PROJECT)-build
RUN = docker run --rm --env CI=jenkins

.PHONY : test

all : pull build test

pull :
	docker pull quay.io/3scale/openresty:1.7.4.1

test : clean
	$(RUN) --name $(NAME) $(PROJECT)
bash :
	$(RUN) -t -i $(PROJECT) bash
build :
	docker build -t $(PROJECT) .

clean : 
	- docker rm --force --volumes $(NAME) 2> /dev/null
	rm -rf release

release:
	rake release -- -y

vagrant:
	vagrant up
	vagrant ssh
lua/%.lua:

doc: lua/%.lua
	ldoc .<commit_msg>make bash starts docker with local folder<commit_after>PROJECT := $(subst @,,$(notdir $(shell pwd)))
NAME = $(PROJECT)-build
RUN = docker run --rm --env CI=jenkins

.PHONY : test

all : pull build test

pull :
	docker pull quay.io/3scale/openresty:1.7.4.1

test : clean
	$(RUN) --name $(NAME) $(PROJECT)
bash :
	$(RUN) -t -i -v $(shell pwd):/opt/slug  $(PROJECT) bash
build :
	docker build -t $(PROJECT) .

clean :
	- docker rm --force --volumes $(NAME) 2> /dev/null
	rm -rf release

release:
	rake release -- -y

vagrant:
	vagrant up
	vagrant ssh
lua/%.lua:

doc: lua/%.lua
	ldoc .
{'fraction_non_alphanumeric': 0.17387387387387387, 'fraction_numerical': 0.010810810810810811, 'mean_word_length': 3.06959706959707, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '839320', 'n_tokens_mistral': 470, 'n_tokens_neox': 447, 'n_words': 137}