<commit_before>.PHONY: debug release test stage package clean test-smoke test-smoke-debug test-ironpython test-ironpython-debug test-cpython test-cpython-debug test-all test-all-debug

release:
	@msbuild Build.proj /t:Build /p:Mono=true /p:BuildFlavour=Release /p:Platform="Any CPU" /verbosity:minimal /nologo
	cp Src/DLR/bin/Release/rowantest.*.dll bin/Release/

debug:
	@msbuild Build.proj /t:Build /p:Mono=true /p:BuildFlavour=Debug /p:Platform="Any CPU" /verbosity:minimal /nologo
	cp Src/DLR/bin/Debug/rowantest.*.dll bin/Debug/

stage:
	@msbuild Build.proj /t:Stage /p:Mono=true /p:BuildFlavour=Release /verbosity:minimal /nologo

package:
	@msbuild Build.proj /t:Package /p:Mono=true /p:BuildFlavour=Release /verbosity:minimal /nologo

clean:
	@msbuild Build.proj /t:Clean /p:Mono=true /verbosity:minimal /nologo

test-ironpython:
	(cd bin/Release && mono ./IronPythonTest.exe --labels=All --where:Category==IronPython --result:ironpython-net45-release-result.xml) || true

test-ironpython-debug:
	(cd bin/Debug && mono ./IronPythonTest.exe --labels=All --where:Category==IronPython --result:ironpython-net45-debug-result.xml) || true

test-cpython:
	(cd bin/Release && mono ./IronPythonTest.exe --labels=All --where:"Category==StandardCPython || Category==AllCPython" --result:cpython-net45-release-result.xml) || true

test-cpython-debug:
	(cd bin/Debug && mono ./IronPythonTest.exe --labels=All --where:"Category==StandardCPython || Category==AllCPython" --result:cpython-net45-debug-result.xml) || true


test-smoke:
	(cd bin/Release && mono ./IronPythonTest.exe --labels=All --where:Category==StandardCPython --result=smoke-net45-release-result.xml) || true

test-smoke-debug:
	(cd bin/Debug && mono ./IronPythonTest.exe --labels=All --where:Category==StandardCPython --result=smoke-net45-debug-result.xml) || true

test-all:
	(cd bin/Release && mono ./IronPythonTest.exe --labels=All --result=all-net45-release-result.xml) || true

test-all-debug:
	(cd bin/Debug && mono ./IronPythonTest.exe --labels=All --result=all-result-debug-net45.xml) || true
<commit_msg>Configurable path to msbuild, update git submodules (#209)<commit_after>MSBUILD := msbuild

.PHONY: debug release test stage package clean test-smoke test-smoke-debug test-ironpython test-ironpython-debug test-cpython test-cpython-debug test-all test-all-debug

release: update-submodules
	@$(MSBUILD) Build.proj /t:Build /p:Mono=true /p:BuildFlavour=Release /p:Platform="Any CPU" /verbosity:minimal /nologo
	cp Src/DLR/bin/Release/rowantest.*.dll bin/Release/

debug: update-submodules
	@$(MSBUILD) Build.proj /t:Build /p:Mono=true /p:BuildFlavour=Debug /p:Platform="Any CPU" /verbosity:minimal /nologo
	cp Src/DLR/bin/Debug/rowantest.*.dll bin/Debug/

stage: update-submodules
	@$(MSBUILD) Build.proj /t:Stage /p:Mono=true /p:BuildFlavour=Release /verbosity:minimal /nologo

package: update-submodules
	@$(MSBUILD) Build.proj /t:Package /p:Mono=true /p:BuildFlavour=Release /verbosity:minimal /nologo

clean:
	@$(MSBUILD) Build.proj /t:Clean /p:Mono=true /verbosity:minimal /nologo

update-submodules:
	@git submodule update --init

test-ironpython:
	(cd bin/Release && mono ./IronPythonTest.exe --labels=All --where:Category==IronPython --result:ironpython-net45-release-result.xml) || true

test-ironpython-debug:
	(cd bin/Debug && mono ./IronPythonTest.exe --labels=All --where:Category==IronPython --result:ironpython-net45-debug-result.xml) || true

test-cpython:
	(cd bin/Release && mono ./IronPythonTest.exe --labels=All --where:"Category==StandardCPython || Category==AllCPython" --result:cpython-net45-release-result.xml) || true

test-cpython-debug:
	(cd bin/Debug && mono ./IronPythonTest.exe --labels=All --where:"Category==StandardCPython || Category==AllCPython" --result:cpython-net45-debug-result.xml) || true


test-smoke:
	(cd bin/Release && mono ./IronPythonTest.exe --labels=All --where:Category==StandardCPython --result=smoke-net45-release-result.xml) || true

test-smoke-debug:
	(cd bin/Debug && mono ./IronPythonTest.exe --labels=All --where:Category==StandardCPython --result=smoke-net45-debug-result.xml) || true

test-all:
	(cd bin/Release && mono ./IronPythonTest.exe --labels=All --result=all-net45-release-result.xml) || true

test-all-debug:
	(cd bin/Debug && mono ./IronPythonTest.exe --labels=All --result=all-result-debug-net45.xml) || true
{'fraction_non_alphanumeric': 0.16042289128935877, 'fraction_numerical': 0.008044127786715698, 'mean_word_length': 4.764238410596026, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 16}, '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': '7495213', 'n_tokens_mistral': 1640, 'n_tokens_neox': 1511, 'n_words': 290}