<commit_before>PHONY:clean test testOriginalVim testNeoVim build tslint release buildcontainer testincontainer

MOCHA=./node_modules/mocha/bin/mocha
TSC=./node_modules/typescript/bin/tsc
TSLINT=./node_modules/tslint/bin/tslint

test: build tslint
	cd out;../$(MOCHA) -g VimStyle
	
testOriginalVim: build
	cd out;../$(MOCHA) -g OriginalVim
	
testNeoVim: build
	cd out;../$(MOCHA) -g NeoVim
	
build: node_modules
	$(TSC)

tslint: build
	$(TSLINT) src/**/**.ts

release: test
	vsce package
	vsce publish
	
install:node_modules

node_modules:
	npm install
	
clean:
	rm -rf out
	rm -f *.vsix
buildcontainer:
	cd testcontainer;docker build -t vscode-vim .
testincontainer:
	docker run -it -v `pwd`:/root/ vscode-vim tsc
	docker run -it -v `pwd`:/root/ -w /root/out/test/ vscode-vim mocha -g VimStyle .<commit_msg>able to release to avoid tests<commit_after>PHONY:clean test testOriginalVim testNeoVim build tslint release buildcontainer testincontainer

MOCHA=./node_modules/mocha/bin/mocha
TSC=./node_modules/typescript/bin/tsc
TSLINT=./node_modules/tslint/bin/tslint

test: build tslint
	cd out;../$(MOCHA) -g VimStyle
	
testOriginalVim: build
	cd out;../$(MOCHA) -g OriginalVim
	
testNeoVim: build
	cd out;../$(MOCHA) -g NeoVim
	
build: node_modules
	$(TSC)

tslint: build
	$(TSLINT) src/**/**.ts

release: test
	vsce package
	vsce publish

release-avoid-tests: build tslint
	vsce package
	vsce publish
	
install:node_modules

node_modules:
	npm install
	
clean:
	rm -rf out
	rm -f *.vsix
buildcontainer:
	cd testcontainer;docker build -t vscode-vim .
testincontainer:
	docker run -it -v `pwd`:/root/ vscode-vim tsc
	docker run -it -v `pwd`:/root/ -w /root/out/test/ vscode-vim mocha -g VimStyle .
{'fraction_non_alphanumeric': 0.12101534828807556, 'fraction_numerical': 0.0, 'mean_word_length': 3.956140350877193, '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': '5943301', 'n_tokens_mistral': 709, 'n_tokens_neox': 663, 'n_words': 172}