Start making NuGet packages for Android

This commit is contained in:
tangalbert919
2018-12-11 22:22:13 -06:00
parent 3433a2c58e
commit 9ebd0eef3d
2 changed files with 5 additions and 4 deletions

View File

@@ -38,6 +38,7 @@
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<AndroidStoreUncompressedFileExtensions />
<AndroidEnableSGenConcurrent>false</AndroidEnableSGenConcurrent>
<RegisterForComInterop>false</RegisterForComInterop>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
@@ -134,9 +135,7 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<None Include="bass.dll">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="bass.dll" />
</ItemGroup>
<Import Project="$(MSBuildExtensionsPath)\Xamarin\Android\Xamarin.Android.CSharp.targets" />
</Project>

View File

@@ -26,6 +26,8 @@ after_build:
- cmd: NVika parsereport "inspectcodereport.xml" --treatwarningsaserrors
- cmd: dotnet pack osu.Framework /p:Version=0.0.%APPVEYOR_BUILD_VERSION%
- cmd: msbuild /t:pack osu.Framework.iOS /p:Configuration=Debug /p:Version=0.0.%APPVEYOR_BUILD_VERSION%
- cmd: msbuild /t:pack osu.Framework.Android /p:Configuration=Debug /p:Version=0.0.%APPVEYOR_BUILD_VERSION%
artifacts:
- path: osu.Framework/bin/Debug/*.nupkg
- path: osu.Framework.iOS/bin/Debug/*.nupkg
- path: osu.Framework.iOS/bin/Debug/*.nupkg
- path: osu.Framework.Android/bin/Debug/*.nupkg