Skip to content

Commit

Permalink
deploy on tags + readme fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ctolkien committed Jan 28, 2016
1 parent 9484261 commit d9bf4ac
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Install via Nuget
using (var png = new TinyPngClient("yourSecretApiKey"))
{
//compress an image
var compressResult = await png.Compress("pathToFile or byte array or stream)");
var compressResult = await png.Compress("pathToFile or byte array or stream");

//get the image data as a byte array
var bytes = await compressResult.GetImageByteData();
Expand Down Expand Up @@ -56,7 +56,7 @@ Further details about the result of the compression are also available on the `I
```csharp
using (var png = new TinyPngClient("yourSecretApiKey"))
{
var compressResult = await png.Compress("pathToFile or byte array or stream)");
var compressResult = await png.Compress("pathToFile or byte array or stream");

var resizedImage = await png.Resize(compressResult, width, height, ResizeType);

Expand All @@ -74,7 +74,7 @@ depending on the type of resize you want to do.
```csharp
using (var png = new TinyPngClient("yourSecretApiKey"))
{
var compressResult = await png.Compress("pathToFile or byte array or stream)");
var compressResult = await png.Compress("pathToFile or byte array or stream");

await png.Resize(compressResult, new ScaleWidthResizeOperation(width));
await png.Resize(compressResult, new ScaleHeightResizeOperation(width));
Expand Down
2 changes: 2 additions & 0 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ deploy:
artifact: /.*\.nupkg/
on:
branch: master
appveyor_repo_tag: true

#cache:
# - node_modules
# - %APPDATA%\npm-cache
Expand Down

0 comments on commit d9bf4ac

Please sign in to comment.