Skip to content

Commit 12aac09

Browse files
authored
Merge pull request #386 from commandlineparser/ViktorHofer-netstandard20
merge Viktor hofer netstandard20
2 parents 5c5fc33 + 00f981e commit 12aac09

File tree

84 files changed

+2620
-2720
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+2620
-2720
lines changed

Diff for: .paket/Paket.Restore.targets

-272
This file was deleted.

Diff for: .paket/paket.bootstrapper.exe

-62.8 KB
Binary file not shown.

Diff for: CommandLine.nuspec

-44
This file was deleted.

Diff for: CommandLine.sln

+5-18
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,10 @@
11

22
Microsoft Visual Studio Solution File, Format Version 12.00
3-
# Visual Studio 14
4-
VisualStudioVersion = 14.0.25420.1
3+
# Visual Studio 15
4+
VisualStudioVersion = 15.0.27703.2042
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CommandLine", "src\CommandLine\CommandLine.csproj", "{E1BD3C65-49C3-49E7-BABA-C60980CB3F20}"
77
EndProject
8-
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = ".Welcome", ".Welcome", "{D9C1F005-94A7-4A2A-81F3-9C053D5A6AEC}"
9-
ProjectSection(SolutionItems) = preProject
10-
License.md = License.md
11-
README.md = README.md
12-
EndProjectSection
13-
EndProject
14-
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "FSharp", "FSharp", "{751E6303-1623-4418-B298-4FF97DA5C86E}"
15-
ProjectSection(SolutionItems) = preProject
16-
demo\fsharp-demo.fsx = demo\fsharp-demo.fsx
17-
EndProjectSection
18-
EndProject
19-
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{A6C99AE7-2FE1-4393-9281-7BFCF46A6F53}"
20-
ProjectSection(SolutionItems) = preProject
21-
build.fsx = build.fsx
22-
EndProjectSection
23-
EndProject
248
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "CommandLine.Tests", "tests\CommandLine.Tests\CommandLine.Tests.csproj", "{0A15C4D2-B3E9-43AB-8155-1B39F7AC8A5E}"
259
EndProject
2610
Global
@@ -41,6 +25,9 @@ Global
4125
GlobalSection(SolutionProperties) = preSolution
4226
HideSolutionNode = FALSE
4327
EndGlobalSection
28+
GlobalSection(ExtensibilityGlobals) = postSolution
29+
SolutionGuid = {5B5A476C-82FB-49FB-B592-5224D9005186}
30+
EndGlobalSection
4431
GlobalSection(MonoDevelopProperties) = preSolution
4532
StartupItem = src\CommandLine\CommandLine.csproj
4633
EndGlobalSection

Diff for: CommandLine.sln.DotSettings

-4
This file was deleted.

Diff for: Commandline.FSharp.nuspec

-50
This file was deleted.

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class Options
9898
public bool Verbose { get; set; }
9999

100100
[Option("stdin",
101-
Default = false
101+
Default = false,
102102
HelpText = "Read from stdin")]
103103
public bool stdin { get; set; }
104104

Diff for: appveyor.yml

+8-39
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
1-
#version should be changed with any pull requests
2-
version: 2.2.{build}
1+
#version should be only changed with RELEASE eminent, see RELEASE.md
2+
version: 2.3.{build}
33

44
clone_depth: 1
55
pull_requests:
66
do_not_increment_build_number: true
77

8-
#cache:
9-
#- packages -> paket.dependencies
10-
#- paket-files > paket.dependencies
11-
128
init:
139
- ps: |
1410
git config --global core.autocrlf input
@@ -18,49 +14,23 @@ init:
1814
if($ver.StartsWith("v") -eq $true) { $ver = $ver.Substring(1) }
1915
Update-AppveyorBuild -Version $ver
2016
}
21-
elseif([System.String]::IsNullOrEmpty($env:APPVEYOR_PULL_REQUEST_NUMBER) -eq $true) {
22-
$ver = $env:APPVEYOR_BUILD_VERSION
23-
$commit = $env:APPVEYOR_REPO_COMMIT.substring(0,7)
24-
Update-AppveyorBuild -Version "$ver-$commit"
25-
}
26-
27-
#version patching
28-
assembly_info:
29-
file: src\SharedAssemblyInfo.cs
30-
patch: true
31-
assembly_version: '{version}'
32-
assembly_file_version: '{version}'
33-
assembly_informational_version: $(APPVEYOR_BUILD_VERSION)
34-
dotnet_csproj:
35-
patch: true
36-
file: '**\*.csproj'
37-
version: '{version}'
38-
package_version: '{version}'
39-
assembly_version: '{version}'
40-
file_version: '{version}'
41-
informational_version: '{version}'
42-
4317
4418
environment:
4519
matrix:
4620
- BUILD_TARGET: base
47-
NUSPEC_FILE: CommandLine
4821
- BUILD_TARGET: fsharp
49-
NUSPEC_FILE: CommandLine.FSharp
5022

5123
build_script:
52-
- cmd: build.cmd %BUILD_TARGET%
24+
- cmd: dotnet build src/CommandLine/ -c Release --version-suffix %APPVEYOR_BUILD_VERSION% /p:BuildTarget=%BUILD_TARGET%
5325

54-
after_build:
55-
- ps: |
56-
powershell get-childitem Release\* -include *.dll | foreach-object { "{0}`t{1}" -f $_.Path, [System.Diagnostics.FileVersionInfo]::GetVersionInfo($_).FileVersion }
57-
58-
.\build-nuget-pack.cmd $env:BUILD_TARGET $env:NUSPEC_FILE
26+
test_script:
27+
- cmd: dotnet test tests/CommandLine.Tests/ /p:BuildTarget=%BUILD_TARGET%
5928

60-
test: auto
29+
after_test:
30+
- cmd: dotnet pack src/CommandLine/ -c Release --version-suffix %APPVEYOR_BUILD_VERSION% /p:BuildTarget=%BUILD_TARGET%
6131

6232
artifacts:
63-
- path: 'Release/**/*.nupkg'
33+
- path: 'src/CommandLine/bin/Release/*.nupkg'
6434
name: NugetPackages
6535

6636
on_failure:
@@ -74,6 +44,5 @@ deploy:
7444
secure: +Zxb8M5W+UJV1yd9n8seu3PvH/hGNPEmgriGBnsSmtxjKPQAJ4+iL7tKAmfPHAuG
7545
artifact: 'NuGetPackages'
7646
on:
77-
branch: /master|v\d+\.\d+\.\d+[.*]/
7847
APPVEYOR_REPO_TAG: true
7948

Diff for: build-nuget-pack.cmd

-19
This file was deleted.

Diff for: build.cmd

-49
This file was deleted.

Diff for: build.fsx

-47
This file was deleted.

Diff for: build.sh

-35
This file was deleted.

Diff for: global.json

-9
This file was deleted.

0 commit comments

Comments
 (0)