| @@ -1,9 +1,16 @@ | |||
| @echo Off | |||
| dotnet restore | |||
| dotnet build | |||
| dotnet pack "src\Discord.Net\Discord.Net.csproj" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" --no-build | |||
| dotnet pack "src\Discord.Net.Core\Discord.Net.Core.csproj" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" --no-build | |||
| dotnet pack "src\Discord.Net.Rest\Discord.Net.Rest.csproj" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" --no-build | |||
| dotnet pack "src\Discord.Net.WebSocket\Discord.Net.WebSocket.csproj" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" --no-build | |||
| dotnet pack "src\Discord.Net.Rpc\Discord.Net.Rpc.csproj" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" --no-build | |||
| dotnet pack "src\Discord.Net.Commands\Discord.Net.Commands.csproj" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" --no-build | |||
| dotnet pack "src\Discord.Net" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" --no-build | |||
| dotnet pack "src\Discord.Net.Core" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" --no-build | |||
| dotnet pack "src\Discord.Net.Commands" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" --no-build | |||
| dotnet pack "src\Discord.Net.Rest" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" --no-build | |||
| dotnet pack "src\Discord.Net.WebSocket" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" --no-build | |||
| dotnet pack "src\Discord.Net.Rpc" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" --no-build | |||
| REM dotnet pack "src\Discord.Net\Discord.Net.csproj" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" --no-build | |||
| REM dotnet pack "src\Discord.Net.Core\Discord.Net.Core.csproj" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" --no-build | |||
| REM dotnet pack "src\Discord.Net.Commands\Discord.Net.Commands.csproj" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" --no-build | |||
| REM dotnet pack "src\Discord.Net.Rest\Discord.Net.Rest.csproj" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" --no-build | |||
| REM dotnet pack "src\Discord.Net.WebSocket\Discord.Net.WebSocket.csproj" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" --no-build | |||
| REM dotnet pack "src\Discord.Net.Rpc\Discord.Net.Rpc.csproj" -c "%Configuration%" -o "artifacts" --version-suffix "%PrereleaseTag%" --no-build | |||
| @@ -17,6 +17,7 @@ | |||
| <EmbeddedResource Include="**\*.resx" /> | |||
| <EmbeddedResource Include="compiler\resources\**\*" /> | |||
| </ItemGroup> | |||
| <ItemGroup /> | |||
| <ItemGroup> | |||
| <ProjectReference Include="..\Discord.Net.Core\Discord.Net.Core.csproj" /> | |||
| </ItemGroup> | |||
| @@ -26,6 +27,7 @@ | |||
| <PrivateAssets>All</PrivateAssets> | |||
| </PackageReference> | |||
| </ItemGroup> | |||
| <ItemGroup /> | |||
| <PropertyGroup Label="Configuration"> | |||
| <SignAssembly>False</SignAssembly> | |||
| </PropertyGroup> | |||
| @@ -0,0 +1,43 @@ | |||
| { | |||
| "version": "1.0.0-beta2-*", | |||
| "description": "A Discord.Net extension adding support for bot commands.", | |||
| "authors": [ "RogueException" ], | |||
| "packOptions": { | |||
| "tags": [ "discord", "discordapp" ], | |||
| "licenseUrl": "http://opensource.org/licenses/MIT", | |||
| "projectUrl": "https://github.com/RogueException/Discord.Net", | |||
| "repository": { | |||
| "type": "git", | |||
| "url": "git://github.com/RogueException/Discord.Net" | |||
| } | |||
| }, | |||
| "configurations": { | |||
| "Release": { | |||
| "buildOptions": { | |||
| "define": [ "RELEASE" ], | |||
| "nowarn": [ "CS1573", "CS1591" ], | |||
| "optimize": true, | |||
| "warningsAsErrors": true, | |||
| "xmlDoc": true | |||
| } | |||
| } | |||
| }, | |||
| "dependencies": { | |||
| "Discord.Net.Core": { | |||
| "target": "project" | |||
| } | |||
| }, | |||
| "frameworks": { | |||
| "netstandard1.3": { | |||
| "imports": [ | |||
| "dotnet5.4", | |||
| "dnxcore50", | |||
| "portable-net45+win8" | |||
| ] | |||
| } | |||
| } | |||
| } | |||
| @@ -17,6 +17,7 @@ | |||
| <EmbeddedResource Include="**\*.resx" /> | |||
| <EmbeddedResource Include="compiler\resources\**\*" /> | |||
| </ItemGroup> | |||
| <ItemGroup /> | |||
| <ItemGroup> | |||
| <PackageReference Include="Microsoft.NET.Sdk"> | |||
| <Version>1.0.0-alpha-20161104-2</Version> | |||
| @@ -45,6 +46,7 @@ | |||
| <PrivateAssets>All</PrivateAssets> | |||
| </PackageReference> | |||
| </ItemGroup> | |||
| <ItemGroup /> | |||
| <PropertyGroup Label="Configuration"> | |||
| <SignAssembly>False</SignAssembly> | |||
| </PropertyGroup> | |||
| @@ -0,0 +1,50 @@ | |||
| { | |||
| "version": "1.0.0-beta2-*", | |||
| "description": "A .Net API wrapper and bot framework for Discord.", | |||
| "authors": [ "RogueException" ], | |||
| "packOptions": { | |||
| "tags": [ "discord", "discordapp" ], | |||
| "licenseUrl": "http://opensource.org/licenses/MIT", | |||
| "projectUrl": "https://github.com/RogueException/Discord.Net", | |||
| "repository": { | |||
| "type": "git", | |||
| "url": "git://github.com/RogueException/Discord.Net" | |||
| } | |||
| }, | |||
| "configurations": { | |||
| "Release": { | |||
| "buildOptions": { | |||
| "define": [ "RELEASE" ], | |||
| "nowarn": [ "CS1573", "CS1591" ], | |||
| "optimize": true, | |||
| "warningsAsErrors": true, | |||
| "xmlDoc": true | |||
| } | |||
| } | |||
| }, | |||
| "dependencies": { | |||
| "Microsoft.Win32.Primitives": "4.3.0", | |||
| "Newtonsoft.Json": "9.0.1", | |||
| "System.Collections.Concurrent": "4.3.0", | |||
| "System.Collections.Immutable": "1.3.0", | |||
| "System.Interactive.Async": "3.1.0", | |||
| "System.Net.Http": "4.3.0", | |||
| "System.Net.WebSockets.Client": { | |||
| "version": "4.3.0", | |||
| "type": "build" | |||
| } | |||
| }, | |||
| "frameworks": { | |||
| "netstandard1.3": { | |||
| "imports": [ | |||
| "dotnet5.4", | |||
| "dnxcore50", | |||
| "portable-net45+win8" | |||
| ] | |||
| } | |||
| } | |||
| } | |||
| @@ -17,6 +17,7 @@ | |||
| <EmbeddedResource Include="**\*.resx" /> | |||
| <EmbeddedResource Include="compiler\resources\**\*" /> | |||
| </ItemGroup> | |||
| <ItemGroup /> | |||
| <ItemGroup> | |||
| <ProjectReference Include="..\Discord.Net.Core\Discord.Net.Core.csproj" /> | |||
| </ItemGroup> | |||
| @@ -29,6 +30,7 @@ | |||
| <Version>4.3.0</Version> | |||
| </PackageReference> | |||
| </ItemGroup> | |||
| <ItemGroup /> | |||
| <PropertyGroup Label="Configuration"> | |||
| <SignAssembly>False</SignAssembly> | |||
| </PropertyGroup> | |||
| @@ -0,0 +1,44 @@ | |||
| { | |||
| "version": "1.0.0-beta2-*", | |||
| "description": "A core Discord.Net library containing the REST client and models.", | |||
| "authors": [ "RogueException" ], | |||
| "packOptions": { | |||
| "tags": [ "discord", "discordapp" ], | |||
| "licenseUrl": "http://opensource.org/licenses/MIT", | |||
| "projectUrl": "https://github.com/RogueException/Discord.Net", | |||
| "repository": { | |||
| "type": "git", | |||
| "url": "git://github.com/RogueException/Discord.Net" | |||
| } | |||
| }, | |||
| "configurations": { | |||
| "Release": { | |||
| "buildOptions": { | |||
| "define": [ "RELEASE" ], | |||
| "nowarn": [ "CS1573", "CS1591" ], | |||
| "optimize": true, | |||
| "warningsAsErrors": true, | |||
| "xmlDoc": true | |||
| } | |||
| } | |||
| }, | |||
| "dependencies": { | |||
| "Discord.Net.Core": { | |||
| "target": "project" | |||
| }, | |||
| "System.IO.FileSystem": "4.3.0" | |||
| }, | |||
| "frameworks": { | |||
| "netstandard1.3": { | |||
| "imports": [ | |||
| "dotnet5.4", | |||
| "dnxcore50", | |||
| "portable-net45+win8" | |||
| ] | |||
| } | |||
| } | |||
| } | |||
| @@ -17,6 +17,7 @@ | |||
| <EmbeddedResource Include="**\*.resx" /> | |||
| <EmbeddedResource Include="compiler\resources\**\*" /> | |||
| </ItemGroup> | |||
| <ItemGroup /> | |||
| <ItemGroup> | |||
| <ProjectReference Include="..\Discord.Net.Core\Discord.Net.Core.csproj" /> | |||
| <ProjectReference Include="..\Discord.Net.Rest\Discord.Net.Rest.csproj" /> | |||
| @@ -33,6 +34,7 @@ | |||
| <Version>4.3.0</Version> | |||
| </PackageReference> | |||
| </ItemGroup> | |||
| <ItemGroup /> | |||
| <PropertyGroup Label="Configuration"> | |||
| <SignAssembly>False</SignAssembly> | |||
| </PropertyGroup> | |||
| @@ -0,0 +1,48 @@ | |||
| { | |||
| "version": "1.0.0-beta2-*", | |||
| "description": "A core Discord.Net library containing the RPC client and models.", | |||
| "authors": [ "RogueException" ], | |||
| "packOptions": { | |||
| "tags": [ "discord", "discordapp" ], | |||
| "licenseUrl": "http://opensource.org/licenses/MIT", | |||
| "projectUrl": "https://github.com/RogueException/Discord.Net", | |||
| "repository": { | |||
| "type": "git", | |||
| "url": "git://github.com/RogueException/Discord.Net" | |||
| } | |||
| }, | |||
| "configurations": { | |||
| "Release": { | |||
| "buildOptions": { | |||
| "define": [ "RELEASE" ], | |||
| "nowarn": [ "CS1573", "CS1591" ], | |||
| "optimize": true, | |||
| "warningsAsErrors": true, | |||
| "xmlDoc": true | |||
| } | |||
| } | |||
| }, | |||
| "dependencies": { | |||
| "Discord.Net.Core": { | |||
| "target": "project" | |||
| }, | |||
| "Discord.Net.Rest": { | |||
| "target": "project" | |||
| }, | |||
| "System.IO.Compression": "4.3.0", | |||
| "System.Net.WebSockets.Client": "4.3.0" | |||
| }, | |||
| "frameworks": { | |||
| "netstandard1.3": { | |||
| "imports": [ | |||
| "dotnet5.4", | |||
| "dnxcore50", | |||
| "portable-net45+win8" | |||
| ] | |||
| } | |||
| } | |||
| } | |||
| @@ -18,6 +18,7 @@ | |||
| <EmbeddedResource Include="**\*.resx" /> | |||
| <EmbeddedResource Include="compiler\resources\**\*" /> | |||
| </ItemGroup> | |||
| <ItemGroup /> | |||
| <ItemGroup> | |||
| <ProjectReference Include="..\Discord.Net.Core\Discord.Net.Core.csproj" /> | |||
| <ProjectReference Include="..\Discord.Net.Rest\Discord.Net.Rest.csproj" /> | |||
| @@ -43,6 +44,7 @@ | |||
| <Version>4.3.0</Version> | |||
| </PackageReference> | |||
| </ItemGroup> | |||
| <ItemGroup /> | |||
| <PropertyGroup Label="Configuration"> | |||
| <SignAssembly>False</SignAssembly> | |||
| </PropertyGroup> | |||
| @@ -0,0 +1,55 @@ | |||
| { | |||
| "version": "1.0.0-beta2-*", | |||
| "description": "A core Discord.Net library containing the WebSocket client and models.", | |||
| "authors": [ "RogueException" ], | |||
| "packOptions": { | |||
| "tags": [ "discord", "discordapp" ], | |||
| "licenseUrl": "http://opensource.org/licenses/MIT", | |||
| "projectUrl": "https://github.com/RogueException/Discord.Net", | |||
| "repository": { | |||
| "type": "git", | |||
| "url": "git://github.com/RogueException/Discord.Net" | |||
| } | |||
| }, | |||
| "buildOptions": { | |||
| "allowUnsafe": true | |||
| }, | |||
| "configurations": { | |||
| "Release": { | |||
| "buildOptions": { | |||
| "define": [ "RELEASE" ], | |||
| "nowarn": [ "CS1573", "CS1591" ], | |||
| "optimize": true, | |||
| "warningsAsErrors": true, | |||
| "xmlDoc": true | |||
| } | |||
| } | |||
| }, | |||
| "dependencies": { | |||
| "Discord.Net.Core": { | |||
| "target": "project" | |||
| }, | |||
| "Discord.Net.Rest": { | |||
| "target": "project" | |||
| }, | |||
| "System.IO.Compression": "4.3.0", | |||
| "System.Net.NameResolution": "4.3.0", | |||
| "System.Net.Sockets": "4.3.0", | |||
| "System.Net.WebSockets.Client": "4.3.0", | |||
| "System.Runtime.InteropServices": "4.3.0" | |||
| }, | |||
| "frameworks": { | |||
| "netstandard1.3": { | |||
| "imports": [ | |||
| "dotnet5.4", | |||
| "dnxcore50", | |||
| "portable-net45+win8" | |||
| ] | |||
| } | |||
| } | |||
| } | |||
| @@ -17,6 +17,7 @@ | |||
| <EmbeddedResource Include="**\*.resx" /> | |||
| <EmbeddedResource Include="compiler\resources\**\*" /> | |||
| </ItemGroup> | |||
| <ItemGroup /> | |||
| <ItemGroup> | |||
| <ProjectReference Include="..\Discord.Net.Core\Discord.Net.Core.csproj" /> | |||
| <ProjectReference Include="..\Discord.Net.Rest\Discord.Net.Rest.csproj" /> | |||
| @@ -30,6 +31,7 @@ | |||
| <PrivateAssets>All</PrivateAssets> | |||
| </PackageReference> | |||
| </ItemGroup> | |||
| <ItemGroup /> | |||
| <PropertyGroup Label="Configuration"> | |||
| <SignAssembly>False</SignAssembly> | |||
| </PropertyGroup> | |||
| @@ -0,0 +1,43 @@ | |||
| { | |||
| "version": "1.0.0-beta2-*", | |||
| "description": "An aynchronous API wrapper for Discord. This metapackage includes all of the optional Discord.Net components.", | |||
| "authors": [ "RogueException" ], | |||
| "packOptions": { | |||
| "tags": [ "discord", "discordapp" ], | |||
| "licenseUrl": "http://opensource.org/licenses/MIT", | |||
| "projectUrl": "https://github.com/RogueException/Discord.Net", | |||
| "repository": { | |||
| "type": "git", | |||
| "url": "git://github.com/RogueException/Discord.Net" | |||
| } | |||
| }, | |||
| "dependencies": { | |||
| "Discord.Net.Core": { | |||
| "target": "project" | |||
| }, | |||
| "Discord.Net.Rest": { | |||
| "target": "project" | |||
| }, | |||
| "Discord.Net.WebSocket": { | |||
| "target": "project" | |||
| }, | |||
| "Discord.Net.Rpc": { | |||
| "target": "project" | |||
| }, | |||
| "Discord.Net.Commands": { | |||
| "target": "project" | |||
| } | |||
| }, | |||
| "frameworks": { | |||
| "netstandard1.3": { | |||
| "imports": [ | |||
| "dotnet5.4", | |||
| "dnxcore50", | |||
| "portable-net45+win8" | |||
| ] | |||
| } | |||
| } | |||
| } | |||