Skip to content

Commit

Permalink
Tweetinvi 4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
linvi committed Aug 10, 2018
1 parent bb0c473 commit 95cd5d1
Show file tree
Hide file tree
Showing 20 changed files with 1,965 additions and 84 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -276,5 +276,6 @@ __pycache__/
/Examplinvi.UniversalApp/Examplinvi.UniversalApp.nuget.targets
/Developer Tools/OpenSSL
/Developer Tools/TweetinviAPI
/Developer Tools/nuget_packages/**/lib
/Examplinvi.WindowsPhone
*.bak
8 changes: 5 additions & 3 deletions Developer Tools/Tweetinvi.Builder.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,11 @@ $tweetinviFactories = 'Tweetinvi.Factories'
$tweetinviLogic = 'Tweetinvi.Logic'
$tweetinviWebLogic = 'Tweetinvi.WebLogic'
$tweetinviStreams = 'Tweetinvi.Streams'
$tweetinviWebhooks = 'Tweetinvi.Webhooks'

# .NET Core variables
$netCoreRootPath = '..\'
$netCoreExamplinvi = 'Examplinvi.NETStandard'
$netCoreExamplinvi = 'Examplinvi.NETStandard-2.0'
$netCoreExamplinviPath = $netCoreRootPath + $netCoreExamplinvi
$netCoreNugetFolder = '.\TweetinviAPI\lib\netstandard1.4'
$netCoreTemp = 'temp_net_core_' + $version;
Expand All @@ -75,7 +76,8 @@ $projects =
$tweetinviFactories,
$tweetinviLogic,
$tweetinviWebLogic,
$tweetinviStreams
$tweetinviStreams,
$tweetinviWebhooks
)

$additionalAssemblies =
Expand Down Expand Up @@ -116,7 +118,7 @@ for ($i = 0; $i -lt $projects.length; $i++) {
$filePath = $rootPath + $tweetinviWebLogic + '\TwitterClientHandler.cs';
Get-Item $filePath | .\Replace-Regex.ps1 -Pattern '"Tweetinvi/(?<versionNumber>\d+(\.\d+)*)(.x)?"' -Replacement ('"Tweetinvi/' + $version + '"') -overwrite

$netCoreExamplinviBin = $netCoreExamplinviPath + '\bin\' + $releaseMode + '\netcoreapp1.1'
$netCoreExamplinviBin = $netCoreExamplinviPath + '\bin\' + $releaseMode + '\netcoreapp2.0'

if (!$uv.IsPresent) {

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>TweetinviAPI.WebhooksPlugin</id>
<version>4.0.0</version>
<title>TweetinviAPI.WebhooksPlugin</title>
<authors>Linvi</authors>
<owners>Linvi</owners>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<licenseUrl>https://github.com/linvi/tweetinvi/blob/master/LICENSE.md</licenseUrl>
<projectUrl>https://github.com/linvi/tweetinvi</projectUrl>
<iconUrl>https://raw.githubusercontent.com/linvi/tweetinvi/master/tweetinvi-logo-purple.png</iconUrl>
<description>A plugin to simplify the development of Account Activity on AspNet servers.</description>
<summary>A plugin to simplify the development of Account Activity on AspNet servers.</summary>
<releaseNotes>https://github.com/linvi/tweetinvi/releases/tag/4.0.0</releaseNotes>
<copyright>Tweetinvi 2018</copyright>
<language>en-US</language>
<tags>twitter c# rest stream api 1.1 .net netcore netstandard core</tags>
<dependencies>
<group targetFramework=".NETStandard2.0">
<dependency id="TweetinviAPI" version="4.0.0" />
</group>
</dependencies>
</metadata>
<files>
<file src="lib\net461\Tweetinvi.Webhooks.dll" target="lib\net461\Tweetinvi.Webhooks.dll" />
<file src="lib\netstandard2.0\Tweetinvi.Webhooks.dll" target="lib\netstandard2.0\Tweetinvi.Webhooks.dll" />
</files>
</package>
36 changes: 36 additions & 0 deletions Developer Tools/nuget_packages/TweetinviAPI/TweetinviAPI.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2012/06/nuspec.xsd">
<metadata>
<id>TweetinviAPI</id>
<version>4.0.0</version>
<title>Tweetinvi</title>
<authors>Linvi</authors>
<owners>Linvi</owners>
<licenseUrl>http://tweetinvi.codeplex.com/license</licenseUrl>
<projectUrl>https://github.com/linvi/tweetinvi</projectUrl>
<iconUrl>https://raw.githubusercontent.com/linvi/tweetinvi/master/tweetinvi-logo-purple.png</iconUrl>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<description>Tweetinvi is an intuitive .NET C# library to access the Twitter REST API. It is a .NET Core library that can be used for development on Windows, Windows RT, Windows Phone, Xamarin Android and Xamarin iOS. Tweetinvi is also compatible with Windows 10 Universal Apps.</description>
<summary>The best Twitter C# Library out there! Works with .NET Framework and .NETCore.</summary>
<releaseNotes>https://github.com/linvi/tweetinvi/releases/tag/4.0.0</releaseNotes>
<copyright>Tweetinvi 2018</copyright>
<language>en-US</language>
<tags>twitter c# rest stream api 1.1 .net netcore netstandard core</tags>
<dependencies>
<group>
<dependency id="Autofac" version="4.6.2" />
<dependency id="Newtonsoft.Json" version="10.0.3" />
<dependency id="NitoAsyncEx.Context.StrongName" version="1.1.0" />
<dependency id="System.Net.Http" version="4.3.2" />
<dependency id="System.Reflection.TypeExtensions" version="4.3.0" />
</group>
<group targetFramework=".NETStandard1.4">
<dependency id="Autofac" version="4.6.2" />
<dependency id="Newtonsoft.Json" version="10.0.3" />
<dependency id="NitoAsyncEx.Context.StrongName" version="1.1.0" />
<dependency id="System.Net.Http" version="4.3.2" />
<dependency id="System.Reflection.TypeExtensions" version="4.3.0" />
</group>
</dependencies>
</metadata>
</package>
Loading

0 comments on commit 95cd5d1

Please sign in to comment.