Skip to content

Commit

Permalink
Add an icon to the NuGet package
Browse files Browse the repository at this point in the history
  • Loading branch information
vbfox committed Sep 9, 2018
1 parent f481959 commit ae8bcdd
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 4 deletions.
10 changes: 6 additions & 4 deletions Readme.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
Colored Printf
==============
# Colored Printf

[![Join the chat at https://gitter.im/vbfox/ColoredPrintf](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/vbfox/ColoredPrintf?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
[![AppVeyor Build status](https://ci.appveyor.com/api/projects/status/19hodvli3yq1andd/branch/master?svg=true)](https://ci.appveyor.com/project/vbfox/coloredprintf/branch/master)
Expand All @@ -10,8 +9,7 @@ This library provide a replacement to F# `printf` function with color support.

The syntax to set the color inside the string is `$foreground;background[text]` where both foreground and background are optional.

Examples
--------
## Examples

```fsharp
colorprintfn "Hello $red[world]."
Expand All @@ -23,3 +21,7 @@ colorprintfn "$white;blue[%s ]$black;white[%s ]$white;red[%s]" "La vie" "est" "b
Displays :

![Demo](doc/demo.png)

## Thanks

* [Newaita icon pack](https://github.com/cbrnix/Newaita) for the base of the icon (License: [CC BY-NC-SA 3.0]
4 changes: 4 additions & 0 deletions Release Notes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### New in 1.0.1

* Add an icon to the NuGet package

### New in 1.0.0

* .Net 4.5 & .Net Core 2.0 compatible
Expand Down
1 change: 1 addition & 0 deletions src/BlackFox.ColoredPrintf/BlackFox.ColoredPrintf.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
<PropertyGroup>
<TargetFrameworks>netstandard2.0</TargetFrameworks>
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">net45;netstandard2.0</TargetFrameworks>
<PackageIconUrl>https://raw.githubusercontent.com/vbfox/ColoredPrintf/master/src/BlackFox.ColoredPrintf/Icon.png</PackageIconUrl>
</PropertyGroup>
<ItemGroup>
<Compile Include="AssemblyInfo.fs" />
Expand Down
Binary file added src/BlackFox.ColoredPrintf/Icon.afdesign
Binary file not shown.
Binary file added src/BlackFox.ColoredPrintf/Icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit ae8bcdd

Please sign in to comment.