-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #588 from praeclarum/std2
Improve .NET Standard nuget
- Loading branch information
Showing
7 changed files
with
99 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,24 @@ | ||
|
||
|
||
SRC=src/SQLite.cs src/SQLiteAsync.cs | ||
|
||
all: test nuget | ||
|
||
test: tests/bin/Debug/SQLite.Tests.dll | ||
nunit-console tests/bin/Debug/SQLite.Tests.dll | ||
|
||
tests/bin/Debug/SQLite.Tests.dll: tests/SQLite.Tests.csproj src/SQLite.cs src/SQLiteAsync.cs | ||
xbuild tests/SQLite.Tests.csproj | ||
tests/bin/Debug/SQLite.Tests.dll: tests/SQLite.Tests.csproj $(SRC) | ||
msbuild tests/SQLite.Tests.csproj | ||
|
||
nuget: srcnuget pclnuget | ||
|
||
srcnuget: src/SQLite.cs src/SQLiteAsync.cs sqlite-net.nuspec | ||
packages: nuget/SQLite-net/packages.config | ||
nuget restore SQLite.sln | ||
|
||
srcnuget: sqlite-net.nuspec $(SRC) | ||
nuget pack sqlite-net.nuspec | ||
|
||
pclnuget: src/SQLite.cs src/SQLiteAsync.cs | ||
nuget restore SQLite.sln | ||
'/Applications/Xamarin Studio.app/Contents/MacOS/mdtool' build '-c:Release|iPhone' SQLite.sln -p:SQLite-net | ||
pclnuget: sqlite-net-pcl.nuspec packages $(SRC) | ||
msbuild "/p:Configuration=Release" nuget/SQLite-net/SQLite-net.csproj | ||
msbuild "/p:Configuration=Release" nuget/SQLite-net-std/SQLite-net-std.csproj | ||
nuget pack sqlite-net-pcl.nuspec -o .\ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
|
||
<PropertyGroup> | ||
<TargetFramework>netstandard1.1</TargetFramework> | ||
<AssemblyName>SQLite-net</AssemblyName> | ||
</PropertyGroup> | ||
|
||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> | ||
<DebugSymbols>true</DebugSymbols> | ||
<DebugType>portable</DebugType> | ||
<DefineConstants>TRACE;USE_SQLITEPCL_RAW;RELEASE;NETSTANDARD1_1</DefineConstants> | ||
<DocumentationFile>bin\Release\netstandard1.1\SQLite-net.xml</DocumentationFile> | ||
</PropertyGroup> | ||
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> | ||
<DefineConstants>TRACE;USE_SQLITEPCL_RAW;DEBUG;NETSTANDARD1_1</DefineConstants> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="SQLitePCLRaw.bundle_green" Version="1.1.5" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<Compile Include="..\..\src\SQLite.cs"> | ||
<Link>SQLite.cs</Link> | ||
</Compile> | ||
<Compile Include="..\..\src\SQLiteAsync.cs"> | ||
<Link>SQLiteAsync.cs</Link> | ||
</Compile> | ||
</ItemGroup> | ||
</Project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters