Skip to content

Commit

Permalink
add appveyor setting file and LICENSE
Browse files Browse the repository at this point in the history
  • Loading branch information
itn3000 committed Jul 7, 2017
1 parent 6bc57fd commit 43becd6
Show file tree
Hide file tree
Showing 4 changed files with 31 additions and 1 deletion.
7 changes: 7 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
Copyright 2017 itn3000

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
2 changes: 1 addition & 1 deletion PooledStream/PooledMemoryStream.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace PooledStream
public class PooledMemoryStream : Stream
{
/// <summary>create writable memory stream with default parameters</summary>
/// <remarks>buffer is allocated from ArrayPool<byte>.Shared</remarks>
/// <remarks>buffer is allocated from ArrayPool.Shared</remarks>
public PooledMemoryStream()
: this(ArrayPool<byte>.Shared)
{
Expand Down
9 changes: 9 additions & 0 deletions PooledStream/PooledStream.csproj
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard1.1</TargetFramework>
<PackageId>PooledStream</PackageId>
<PackageVersion>0.0.1</PackageVersion>
<Authors>itn3000</Authors>
<Description>Efficient MemoryStream powered by System.Buffers.ArrayPool</Description>
<PackageRequireLicenseAcceptance>false</PackageRequireLicenseAcceptance>
<PackageReleaseNotes>First release</PackageReleaseNotes>
<Copyright>Copyright(c) 2017 itn3000. All rights reserved</Copyright>
<PackageTags>MemoryStream</PackageTags>
</PropertyGroup>
<ItemGroup>
</ItemGroup>
Expand Down
14 changes: 14 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: 1.0.{build}
image: Visual Studio 2017 Preview
configuration: Release
before_build:
- cmd: dotnet restore
build:
verbosity: minimal
after_build:
- cmd: dotnet pack PooledStream -c Release --include-symbols
test_script:
- cmd: dotnet test PooledStream.Test\PooledStream.Test.csproj -c Release
artifacts:
- path: PooledStream\bin\Release\*.nupkg
name: NugetPackages

0 comments on commit 43becd6

Please sign in to comment.