Simple the NuGet package into two: codegen package & api package

This allow users to install the SimpleStubs Apis into a project that
doesn't need code generation of stubs but only to access SimpleStubs Apis.
This is particularly useful for putting all stubs in one class library.
This commit is contained in:
Nehme Bilal 2017-05-04 16:24:00 -07:00
Родитель 14d5c13771
Коммит 91d505f8aa
3 изменённых файлов: 38 добавлений и 16 удалений

Просмотреть файл

@ -1 +1,2 @@
nuget pack SimpleStubs.nuspec
nuget pack SimpleStubs.nuspec
nuget pack SimpleStubs.API.nuspec

Просмотреть файл

@ -0,0 +1,33 @@
<?xml version="1.0"?>
<package >
<metadata>
<id>Etg.SimpleStubs.API</id>
<version>1.0.0</version>
<title>SimpleStubs API</title>
<authors>Microsoft Studios (BigPark)</authors>
<owners>Microsoft Studios (BigPark)</owners>
<licenseUrl>https://opensource.org/licenses/MIT</licenseUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>SimpleStubs API is a set of classes used by the ETG.SimpleStubs NuGet package.</description>
<releaseNotes></releaseNotes>
<copyright>Copyright 2016</copyright>
</metadata>
<files>
<file src="..\src\SimpleStubs\bin\Release\netstandard1.4\ETG.SimpleStubs.dll" target="lib\uap10.0" />
<file src="..\src\SimpleStubs\bin\Release\netstandard1.4\ETG.SimpleStubs.dll" target="lib\netcoreapp1.0" />
<file src="..\src\SimpleStubs\bin\Release\netstandard1.4\ETG.SimpleStubs.dll" target="lib\netcoreapp1.1" />
<file src="..\src\SimpleStubs\bin\Release\netstandard1.4\ETG.SimpleStubs.dll" target="lib\dnxcore50" />
<file src="..\src\SimpleStubs\bin\Release\netstandard1.4\ETG.SimpleStubs.dll" target="lib\dotnet" />
<file src="..\src\SimpleStubs\bin\Release\netstandard1.4\ETG.SimpleStubs.dll" target="lib\net46" />
<file src="..\src\SimpleStubs\bin\Release\netstandard1.4\ETG.SimpleStubs.dll" target="lib\dotnet50" />
<file src="..\src\SimpleStubs\bin\Release\netstandard1.4\ETG.SimpleStubs.dll" target="lib\netstandard1.0" />
<file src="..\src\SimpleStubs\bin\Release\netstandard1.4\ETG.SimpleStubs.dll" target="lib\netstandard1.1" />
<file src="..\src\SimpleStubs\bin\Release\netstandard1.4\ETG.SimpleStubs.dll" target="lib\netstandard1.2" />
<file src="..\src\SimpleStubs\bin\Release\netstandard1.4\ETG.SimpleStubs.dll" target="lib\netstandard1.3" />
<file src="..\src\SimpleStubs\bin\Release\netstandard1.4\ETG.SimpleStubs.dll" target="lib\netstandard1.4" />
<file src="..\src\SimpleStubs\bin\Release\netstandard1.4\ETG.SimpleStubs.dll" target="lib\netstandard1.5" />
<file src="..\src\SimpleStubs\bin\Release\netstandard1.4\ETG.SimpleStubs.dll" target="lib\netstandard1.6" />
</files>
</package>

Просмотреть файл

@ -12,24 +12,12 @@
<releaseNotes></releaseNotes>
<copyright>Copyright 2016</copyright>
<dependencies>
<dependency id="Etg.SimpleStubs.API" version="1.0.0" />
</dependencies>
</metadata>
<files>
<file src="..\src\SimpleStubs\bin\Release\netstandard1.4\ETG.SimpleStubs.dll" target="lib\uap10.0" />
<file src="..\src\SimpleStubs\bin\Release\netstandard1.4\ETG.SimpleStubs.dll" target="lib\netcoreapp1.0" />
<file src="..\src\SimpleStubs\bin\Release\netstandard1.4\ETG.SimpleStubs.dll" target="lib\netcoreapp1.1" />
<file src="..\src\SimpleStubs\bin\Release\netstandard1.4\ETG.SimpleStubs.dll" target="lib\dnxcore50" />
<file src="..\src\SimpleStubs\bin\Release\netstandard1.4\ETG.SimpleStubs.dll" target="lib\dotnet" />
<file src="..\src\SimpleStubs\bin\Release\netstandard1.4\ETG.SimpleStubs.dll" target="lib\net46" />
<file src="..\src\SimpleStubs\bin\Release\netstandard1.4\ETG.SimpleStubs.dll" target="lib\dotnet50" />
<file src="..\src\SimpleStubs\bin\Release\netstandard1.4\ETG.SimpleStubs.dll" target="lib\netstandard1.0" />
<file src="..\src\SimpleStubs\bin\Release\netstandard1.4\ETG.SimpleStubs.dll" target="lib\netstandard1.1" />
<file src="..\src\SimpleStubs\bin\Release\netstandard1.4\ETG.SimpleStubs.dll" target="lib\netstandard1.2" />
<file src="..\src\SimpleStubs\bin\Release\netstandard1.4\ETG.SimpleStubs.dll" target="lib\netstandard1.3" />
<file src="..\src\SimpleStubs\bin\Release\netstandard1.4\ETG.SimpleStubs.dll" target="lib\netstandard1.4" />
<file src="..\src\SimpleStubs\bin\Release\netstandard1.4\ETG.SimpleStubs.dll" target="lib\netstandard1.5" />
<file src="..\src\SimpleStubs\bin\Release\netstandard1.4\ETG.SimpleStubs.dll" target="lib\netstandard1.6" />
<file src="..\src\SimpleStubs.CodeGen\bin\Release\Etg.SimpleStubs.CodeGen.dll" target="tools" />
<file src="..\src\SimpleStubs.CodeGen\bin\Release\Microsoft.Build.dll" target="tools" />
<file src="..\src\SimpleStubs.CodeGen\bin\Release\Microsoft.Build.Engine.dll" target="tools" />