<commit_before>var target = Argument("target", "libs");
var version = Argument("nugetversion", "");

List<string> GetSamples ()
{
	var l = new List<string> ();
	l.Add ("Samples/Android/Sample.Android.sln");
	l.Add ("Samples/iOS/Sample.iOS.sln");
	l.Add ("Samples/iOS/Sample.iOS-Classic.sln");
	
	if (IsRunningOnWindows ()) {
		l.Add ("Samples/WindowsPhone8/Sample.WindowsPhone8.sln");
	}
	
	return l;
}

var slns = GetSamples ();

Task ("libs").Does (() => 
{
	// Build the PCL
	NuGetRestore ("ZXing.Net.Mobile.sln");
	DotNetBuild ("src/ZXing.Net.Mobile.Portable/ZXing.Net.Mobile.Portable.csproj", c => c.Configuration = "Release");

	foreach (var s in slns) {

		// Build each project
		NuGetRestore (s);
		DotNetBuild (s, c => c.Configuration = "Release");
	}
});


Task ("tools").WithCriteria (!FileExists ("./Component/tools/xamarin-component.exe")).Does (() => 
{
	if (!DirectoryExists ("./Component/tools/"))
		CreateDirectory ("./Component/tools/");
<commit_msg>Skip building WP8 sample for now<commit_after>var target = Argument("target", "libs");
var version = Argument("nugetversion", "");

List<string> GetSamples ()
{
	var l = new List<string> ();
	l.Add ("Samples/Android/Sample.Android.sln");
	l.Add ("Samples/iOS/Sample.iOS.sln");
	l.Add ("Samples/iOS/Sample.iOS-Classic.sln");
	
	if (IsRunningOnWindows ()) {
		//l.Add ("Samples/WindowsPhone8/Sample.WindowsPhone8.sln");
	}
	
	return l;
}

var slns = GetSamples ();

Task ("libs").Does (() => 
{
	// Build the PCL
	NuGetRestore ("ZXing.Net.Mobile.sln");
	DotNetBuild ("src/ZXing.Net.Mobile.Portable/ZXing.Net.Mobile.Portable.csproj", c => c.Configuration = "Release");

	foreach (var s in slns) {

		// Build each project
		NuGetRestore (s);
		DotNetBuild (s, c => c.Configuration = "Release");
	}
});


Task ("tools").WithCriteria (!FileExists ("./Component/tools/xamarin-component.exe")).Does (() => 
{
	if (!DirectoryExists ("./Component/tools/"))
		CreateDirectory ("./Component/tools/");

{'fraction_non_alphanumeric': 0.1990811638591118, 'fraction_numerical': 0.002552322613578356, 'mean_word_length': 4.212765957446808, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 15, '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': '6285906', 'n_tokens_mistral': 752, 'n_tokens_neox': 693, 'n_words': 133}