Skip to content

Commit

Permalink
Added a build script (actually it is more of a copy-script)
Browse files Browse the repository at this point in the history
  • Loading branch information
flagbug committed Dec 15, 2013
1 parent dada2be commit 26d335f
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions Create-Release.ps1
Original file line number Diff line number Diff line change
@@ -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\

0 comments on commit 26d335f

Please sign in to comment.