Skip to content

Commit e2f551c

Browse files
committed
Don't use paket for dependency management
1 parent b4e8854 commit e2f551c

8 files changed

Lines changed: 128 additions & 290 deletions

File tree

Release Notes.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
### New in 1.0.0
2+
3+
* .Net 4.5 & .Net Core 2.0 compatible
4+
15
### New in 0.3.0
26

37
* Fix printing escaped parts when text is accumulated. `colorprintfn "1 %d %d" 2 3` was generating `231` ([Issue #1](https://github.com/vbfox/ColoredPrintf/issues/1))

paket.dependencies

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,17 +5,16 @@ framework: netcoreapp2.0,netstandard1.6,netstandard2.0,net45
55
storage:none
66

77
nuget Expecto
8-
nuget FSharp.Core ~> 4
8+
nuget FSharp.Core ~> 4.0
99
nuget FSharp.Data prerelease
10-
nuget BlackFox.MasterOfFoo ~> 1.0
1110

1211
// Build infrastructure
1312
group build
1413
source https://api.nuget.org/v3/index.json
1514
storage: none
1615
framework: netcoreapp2.0
1716

18-
nuget FSharp.Core ~> 4
17+
nuget FSharp.Core ~> 4.0
1918
nuget Fake.Core.Target
2019
nuget Fake.Core.Environment
2120
nuget Fake.Core.Process

paket.lock

Lines changed: 104 additions & 250 deletions
Large diffs are not rendered by default.
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
FSharp.Core
22
Expecto
3-
BlackFox.MasterOfFoo
43
FSharp.Data
Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,17 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22
<PropertyGroup>
3-
<TargetFrameworks>netstandard1.6;netstandard2.0</TargetFrameworks>
4-
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">net45;netstandard1.6;netstandard2.0</TargetFrameworks>
3+
<TargetFrameworks>netstandard2.0</TargetFrameworks>
4+
<TargetFrameworks Condition="'$(OS)' == 'Windows_NT'">net45;netstandard2.0</TargetFrameworks>
55
</PropertyGroup>
66
<ItemGroup>
77
<Compile Include="AssemblyInfo.fs" />
88
<Compile Include="ColorStrings.fs" />
99
<Compile Include="ColoredWriter.fs" />
1010
<Compile Include="ColoredPrintf.fs" />
11-
<None Include="paket.references" />
12-
<None Include="paket.template" />
1311
</ItemGroup>
14-
<Import Project="..\..\.paket\Paket.Restore.targets" />
12+
<ItemGroup>
13+
<PackageReference Include="FSharp.Core" Version="[4.0.0.1,5.0.0)" Condition="'$(TargetFramework)' == 'net45'" />
14+
<PackageReference Include="FSharp.Core" Version="[4.2.3,5.0.0)" Condition="'$(TargetFramework)' == 'netstandard2.0'" />
15+
<PackageReference Include="BlackFox.MasterOfFoo" Version="[1.0.2,2.0.0)" />
16+
</ItemGroup>
1517
</Project>

src/BlackFox.ColoredPrintf/paket.references

Lines changed: 0 additions & 2 deletions
This file was deleted.

src/BlackFox.ColoredPrintf/paket.template

Lines changed: 0 additions & 26 deletions
This file was deleted.

src/Directory.Build.props

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,20 @@
11
<Project>
22
<PropertyGroup>
3-
<ArtifactsDir>$(MSBuildThisFileDirectory)/../artifacts/</ArtifactsDir>
3+
<ArtifactsDir>$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)/../artifacts/'))</ArtifactsDir>
44
</PropertyGroup>
55
<PropertyGroup Condition="'$(MSBuildProjectName)' != 'BlackFox.ColoredPrintf.Build'">
6-
<OutputPath>$(ArtifactsDir)/$(MSBuildProjectName)/$(Configuration)/</OutputPath>
6+
<OutputPath>$([System.IO.Path]::GetFullPath('$(ArtifactsDir)/$(MSBuildProjectName)/$(Configuration)/'))</OutputPath>
77
</PropertyGroup>
88
<PropertyGroup>
9-
<Description>An F# library to allow using printf style strings in more places.</Description>
9+
<Description>Provide a printf replacement with colors.
10+
11+
This library provide a colorprintf function where colors can be set for a range using the syntax :
12+
13+
$foreground;background[text]
14+
15+
For example:
16+
17+
colorprintf "Hello $red[%s]." "world"</Description>
1018
<PackageProjectUrl>https://github.com/vbfox/ColoredPrintf</PackageProjectUrl>
1119
<PackageLicenseUrl>https://github.com/vbfox/ColoredPrintf/blob/master/License.md</PackageLicenseUrl>
1220
<RepositoryUrl>https://github.com/vbfox/ColoredPrintf.git</RepositoryUrl>

0 commit comments

Comments
 (0)