From 26d335f85a6a70375aafafa7d0ea640a2daf1074 Mon Sep 17 00:00:00 2001 From: Dennis Daume Date: Sun, 15 Dec 2013 18:29:35 +0100 Subject: [PATCH] Added a build script (actually it is more of a copy-script) --- Create-Release.ps1 | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 Create-Release.ps1 diff --git a/Create-Release.ps1 b/Create-Release.ps1 new file mode 100644 index 0000000..9ea309a --- /dev/null +++ b/Create-Release.ps1 @@ -0,0 +1,21 @@ +$Archs = {"Portable-Net45+WinRT45+WP8", "Xamarin.Android", "Xamarin.iOS"} + +if (Test-Path .\Release) { + rmdir -r -force .\Release +} + +foreach-object $Archs | %{mkdir -Path ".\Release\$_"} + +cp .\Lager\bin\Release\Portable\Lager.dll .\Release\Portable-Net45+WinRT45+WP8\ +cp .\Lager\bin\Release\Portable\Lager.xml .\Release\Portable-Net45+WinRT45+WP8\ + +cp .\Lager\bin\Release\Android\Lager.dll .\Release\Xamarin.Android\ +cp .\Lager\bin\Release\Android\Lager.xml .\Release\Xamarin.Android\ +cp .\Lager.Android\bin\Release\Lager.Android.dll .\Release\Xamarin.Android\ +cp .\Lager.Android\bin\Release\Lager.Android.xml .\Release\Xamarin.Android\ +cp .\ext\Monoandroid\*.* .\Release\Xamarin.Android\ + +cp .\Lager\bin\Release\iOS\Lager.dll .\Release\Xamarin.iOS\ +cp .\Lager\bin\Release\iOS\Lager.xml .\Release\Xamarin.iOS\ +cp .\ext\Monotouch\*.* .\Release\Xamarin.iOS\ +