Skip to content

Commit

Permalink
#531 Nuget package is now properly created automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
linvi committed Jun 18, 2017
1 parent 10e3736 commit bcab2ca
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 30 deletions.
42 changes: 13 additions & 29 deletions Developer Tools/TweetinviAPI/TweetinviAPI.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,36 +18,20 @@
<tags>twitter c# rest stream api 1.1 .net netcore netstandard core</tags>
<dependencies>
<group>
<dependency id="Autofac" version="3.5.2" />
<dependency id="Microsoft.Bcl.Async" version="1.0.168" />
<dependency id="Microsoft.Bcl.Build" version="1.0.21" />
<dependency id="Microsoft.Net.Http" version="2.2.29" />
<dependency id="Newtonsoft.Json" version="9.0.1" />
<dependency id="Autofac" version="4.6.0" />
<dependency id="Newtonsoft.Json" version="10.0.2" />
<dependency id="Nito.AsyncEx.Context" version="1.1.0" />
<dependency id="System.Net.Http" version="4.3.2" />
<dependency id="System.Reflection.TypeExtensions" version="4.3.0" />
<dependency id="System.Runtime.Serialization.Primitives" version="4.3.0" />
</group>
<group targetFramework=".NETFramework4.5">
<dependency id="Autofac" version="3.5.2" />
<dependency id="Microsoft.Bcl.Async" version="1.0.168" />
<dependency id="Microsoft.Bcl.Build" version="1.0.21" />
<dependency id="Microsoft.Net.Http" version="2.2.29" />
<dependency id="Newtonsoft.Json" version="9.0.1" />
</group>
<group targetFramework=".NETFramework4.0">
<dependency id="Autofac" version="3.5.2" />
<dependency id="Microsoft.Bcl.Async" version="1.0.168" />
<dependency id="Microsoft.Bcl.Build" version="1.0.21" />
<dependency id="Microsoft.Net.Http" version="2.2.29" />
<dependency id="Newtonsoft.Json" version="9.0.1" />
</group>
<group targetFramework="netcore451">
<dependency id="Autofac" version="[3.5.2]" />
<dependency id="Microsoft.Bcl.Async" version="1.0.168" />
<dependency id="Microsoft.Bcl.Build" version="1.0.21" />
<dependency id="Microsoft.Net.Http" version="2.2.29" />
<dependency id="Newtonsoft.Json" version="9.0.1" />
</group>
<group targetFramework=".NETStandard1.5">
<dependency id="Autofac" version="4.1.0" />
<dependency id="Newtonsoft.Json" version="9.0.1" />
<group targetFramework=".NETStandard1.3">
<dependency id="Autofac" version="4.6.0" />
<dependency id="Newtonsoft.Json" version="10.0.2" />
<dependency id="Nito.AsyncEx.Context" version="1.1.0" />
<dependency id="System.Net.Http" version="4.3.2" />
<dependency id="System.Reflection.TypeExtensions" version="4.3.0" />
<dependency id="System.Runtime.Serialization.Primitives" version="4.3.0" />
</group>

</dependencies>
Expand Down
4 changes: 3 additions & 1 deletion Developer Tools/src/build-actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,9 @@ module.exports = {

createNugetPackage: () => {
return shell.spawn('mkdir TweetinviAPI\\lib\\netstandard1.3').then(() => {
return shell.spawn('cp ../Tweetinvi/bin/Debug/netstandard1.3/Tweetinvi.*.dll ./TweetinviAPI/lib/netstandard1.3');
return shell.spawn('cp ../Tweetinvi/bin/Debug/netstandard1.3/Tweetinvi*.dll ./TweetinviAPI/lib/netstandard1.3');
}).then(() => {
return shell.spawn('cp ../Tweetinvi/bin/Debug/netstandard1.3/Tweetinvi.*.dll ./TweetinviAPI/lib/net46');
}).then(() => {
return shell.cd('./TweetinviAPI');
}).then(() => {
Expand Down

0 comments on commit bcab2ca

Please sign in to comment.