<commit_before>/*
	http://cakebuild.net/docs
*/
#addin "Cake.Xamarin"
#addin "Cake.XCode"

#load "../common.cake"
//#load "../../common.moljac.cake"

var SLN_PATH = "./source/Xamarin.Auth-Library.Windows.VisualStudio-wo.Xamarin.Forms.sln";

CakeSpec.Libs = new ISolutionBuilder []
{
	new DefaultSolutionBuilder {
		SolutionPath = SLN_PATH,
		Targets = new [] { "Xamarin_Auth_Portable" },
		IsWindowsCompatible = true,
		OutputFiles = new [] {
			new OutputFileCopy {
				FromFile = "./source/Xamarin.Auth.Portable/bin/Release/Xamarin.Auth.dll",
				ToDirectory= "./output/pcl/"
			},
		}
	},
	new WpSolutionBuilder {
		SolutionPath = SLN_PATH,
		Targets = new [] { "Xamarin_Auth_WindowsPhone8" },	
		OutputFiles = new [] {
			new OutputFileCopy
			{
				FromFile = "./source/Xamarin.Auth.WindowsPhone8/Bin/Release/Xamarin.Auth.dll",
				ToDirectory= "./output/wp80/"
			},
		}
	},
	new WpSolutionBuilder {
		SolutionPath = "./source/Xamarin.Auth-Library.Windows.VisualStudio-wo.Xamarin.Forms.sln",
		Targets = new [] { "Xamarin_Auth_Windows81Universal" },
		WpPlatformTarget = "Any Cpu",
		OutputFiles = new [] {
			new OutputFileCopy
			{
				FromFile = "./source/Xamarin.Auth.Windows81Universal/Bin/Release/Xamarin.Auth.dll",
				ToDirectory= "./output/wpa81/"
			},
			new OutputFileCopy
			{
				FromFile = "./source/Xamarin.Auth.Windows81Universal/Bin/Release/Xamarin.Auth.dll",
				ToDirectory= "./output/win81/"
			},			 
		}

	},
	// new WpSolutionBuilder {
	// 	SolutionPath = SLN_PATH,
	// 	Targets = new [] { "Xamarin_Auth_WindowsUniversal" },	
	// 	OutputFiles = new [] {
	// 		new OutputFileCopy
	// 		{
	// 			FromFile = "./source/Xamarin.Auth.WindowsUniversal/Bin/Release/Xamarin.Auth.dll",
	// 			ToDirectory= "./output/uwp/"
	// 		},
	// 	}
	// },
	new DefaultSolutionBuilder {
		SolutionPath = SLN_PATH,
		Targets = new [] { "Xamarin_Auth_XamarinAndroid" },
		IsWindowsCompatible = true,
		OutputFiles = new [] {
			new OutputFileCopy
			{
				FromFile = "./source/Xamarin.Auth.XamarinAndroid/bin/Release/Xamarin.Auth.dll",
				ToDirectory= "./output/android/"
			},
		}
	},
	new IOSSolutionBuilder
	{
		// everything on MacOSX with Xamarin.Studio
		SolutionPath = SLN_PATH,
		OutputFiles = new []
		{
			/*
			Xamarin Component
			https://developer.xamarin.com/guides/cross-platform/advanced/submitting_components/component_submission_guide/#Appendix_1_-_Component.Yaml_tags
					pcl:
					android:
					ios-unified:
					ios:
					winphone-8.0:
					winphone-8.1:
					mac-unified:
					mac:
					winphone-7.0:
					winphone-7.1:<commit_msg>Use different solutions in cake.build for different platforms<commit_after>/*
	http://cakebuild.net/docs
*/
#addin "Cake.Xamarin"
#addin "Cake.XCode"

#load "../common.cake"
//#load "../../common.moljac.cake"

var WIN_SLN_PATH = "./source/Xamarin.Auth-Library.Windows.VisualStudio-wo.Xamarin.Forms.sln";
var MAC_SLN_PATH = "./source/Xamarin.Auth-Library-MacOSX-Xamarin.Studio-wo-Xamarin.Forms.sln";

CakeSpec.Libs = new ISolutionBuilder []
{
	new DefaultSolutionBuilder {
		SolutionPath = WIN_SLN_PATH,
		Targets = new [] { "Xamarin_Auth_Portable" },
		IsWindowsCompatible = true,
		OutputFiles = new [] {
			new OutputFileCopy {
				FromFile = "./source/Xamarin.Auth.Portable/bin/Release/Xamarin.Auth.dll",
				ToDirectory= "./output/pcl/"
			},
		}
	},
	new WpSolutionBuilder {
		SolutionPath = WIN_SLN_PATH,
		Targets = new [] { "Xamarin_Auth_WindowsPhone8" },	
		OutputFiles = new [] {
			new OutputFileCopy
			{
				FromFile = "./source/Xamarin.Auth.WindowsPhone8/Bin/Release/Xamarin.Auth.dll",
				ToDirectory= "./output/wp80/"
			},
		}
	},
	new WpSolutionBuilder {
		SolutionPath = WIN_SLN_PATH,
		Targets = new [] { "Xamarin_Auth_Windows81Universal" },
		WpPlatformTarget = "Any Cpu",
		OutputFiles = new [] {
			new OutputFileCopy
			{
				FromFile = "./source/Xamarin.Auth.Windows81Universal/Bin/Release/Xamarin.Auth.dll",
				ToDirectory= "./output/wpa81/"
			},
			new OutputFileCopy
			{
				FromFile = "./source/Xamarin.Auth.Windows81Universal/Bin/Release/Xamarin.Auth.dll",
				ToDirectory= "./output/win81/"
			},			 
		}

	},
	// new WpSolutionBuilder {
	// 	SolutionPath = WIN_SLN_PATH,
	// 	Targets = new [] { "Xamarin_Auth_WindowsUniversal" },	
	// 	OutputFiles = new [] {
	// 		new OutputFileCopy
	// 		{
	// 			FromFile = "./source/Xamarin.Auth.WindowsUniversal/Bin/Release/Xamarin.Auth.dll",
	// 			ToDirectory= "./output/uwp/"
	// 		},
	// 	}
	// },
	new DefaultSolutionBuilder {
		SolutionPath = WIN_SLN_PATH,
		Targets = new [] { "Xamarin_Auth_XamarinAndroid" },
		IsWindowsCompatible = true,
		OutputFiles = new [] {
			new OutputFileCopy
			{
				FromFile = "./source/Xamarin.Auth.XamarinAndroid/bin/Release/Xamarin.Auth.dll",
				ToDirectory= "./output/android/"
			},
		}
	},
	new IOSSolutionBuilder
	{
		// everything on MacOSX with Xamarin.Studio
		SolutionPath = MAC_SLN_PATH,		
		OutputFiles = new []
		{
			/*
			Xamarin Component
			https://developer.xamarin.com/guides/cross-platform/advanced/submitting_components/component_submission_guide/#Appendix_1_-_Component.Yaml_tags
					pcl:
					android:
					ios-unified:
					ios:
					winphone-8.0:
					winphone-8.1:
					mac-unified:
					mac:
					winphone-7.0:
					winphone-7.1:
{'fraction_non_alphanumeric': 0.14760994263862331, 'fraction_numerical': 0.008795411089866157, 'mean_word_length': 3.042503863987635, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, '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': '850678', 'n_tokens_mistral': 2169, 'n_tokens_neox': 1921, 'n_words': 265}