diff --git a/Directory.Build.props b/Directory.Build.props new file mode 100644 index 0000000..b52e4c6 --- /dev/null +++ b/Directory.Build.props @@ -0,0 +1,24 @@ + + + + embedded + true + True + + PackageReference + false + false + false + + + + Copyright 2019 Hightech ICT + Hightech ICT and authors + + + + + + + + \ No newline at end of file diff --git a/build.ps1 b/build.ps1 index 78692a7..9f701fe 100644 --- a/build.ps1 +++ b/build.ps1 @@ -1,5 +1,4 @@ function New-Package($version) { - New-SharedAssemblyInfo $version dotnet pack --output ../../built --configuration Release /p:PackageVersion="$($version.FullSemVer)" /p:NoPackageAnalysis=true } @@ -21,16 +20,18 @@ using System.Runtime.InteropServices; } +$version = git-flow-version | ConvertFrom-Json +Write-Host "calculated version:" +$version | Format-List + Remove-Item built -Force -Recurse -ErrorAction SilentlyContinue Remove-Item doc/index.md -Force -Recurse -ErrorAction SilentlyContinue Remove-Item doc/_site -Force -Recurse -ErrorAction SilentlyContinue Remove-Item doc/obj -Force -Recurse -ErrorAction SilentlyContinue dotnet clean dotnet restore +New-SharedAssemblyInfo $version dotnet build --configuration Release .\src\Tring.WinExe\Tring.WinExe.csproj /p:OutputPath="..\..\built" dotnet test /p:CollectCoverage=true /p:Exclude=[xunit.*]* /p:CoverletOutput='../../built/Tring.xml' /p:CoverletOutputFormat=cobertura -$version = git-flow-version | ConvertFrom-Json -Write-Host "calculated version:" -$version | Format-List New-Package $version \ No newline at end of file diff --git a/hightechict.ico b/hightechict.ico new file mode 100644 index 0000000..ed31415 Binary files /dev/null and b/hightechict.ico differ diff --git a/src/Tring.WinExe/Tring.WinExe.csproj b/src/Tring.WinExe/Tring.WinExe.csproj index 4ea3c6e..63bcba9 100644 --- a/src/Tring.WinExe/Tring.WinExe.csproj +++ b/src/Tring.WinExe/Tring.WinExe.csproj @@ -24,15 +24,9 @@ along with Tring. If not, see. Tring tring Tring can be used to quickly test a TCP connection. - false - LGPL-3.0-or-later - https://github.com/hightechict/Tring - https://github.com/hightechict/Tring - git Copyright 2019 Hightech ICT Hightech ICT and authors - https://raw.githubusercontent.com/hightechict/DashDashVersion/develop/doc/images/HightechICT.png - TCP;Network + ../../hightechict.ico none