From 49401f186cdfd42ae9ec123581bdfb05584e5baf Mon Sep 17 00:00:00 2001
From: masesdevelopers <94312179+masesdevelopers@users.noreply.github.com>
Date: Thu, 2 Nov 2023 15:23:13 +0100
Subject: [PATCH] Review 1
---
.github/workflows/build.yaml | 6 +++---
.github/workflows/pullrequest.yaml | 4 ++--
.github/workflows/release.yaml | 4 ++--
LICENSE | 2 +-
src/{Documentation => _documentation}/.gitignore | 0
.../api/.gitignore | 0
src/{Documentation => _documentation}/api/index.md | 0
.../apidoc/.gitignore | 0
.../articles/intro.md | 0
.../articles/toc.yml | 0
.../articles/usage.md | 0
src/{Documentation => _documentation}/docfx.json | 0
.../images/logo.png | Bin
src/{Documentation => _documentation}/index.md | 0
src/{Documentation => _documentation}/toc.yml | 0
src/{ => net}/CLIParser.sln | 0
src/{ => net}/CLIParser/ArgumentMetadata.cs | 2 +-
src/{ => net}/CLIParser/CLIParser.cs | 2 +-
src/{ => net}/CLIParser/CLIParser.csproj | 4 ++--
src/{ => net}/CLIParser/InternalConst.cs | 2 +-
src/{ => net}/Common/CLIParser.snk | Bin
tests/CLIParserTest/CLIParserTest.csproj | 4 ++--
tests/CLIParserTest/Program.cs | 2 +-
23 files changed, 16 insertions(+), 16 deletions(-)
rename src/{Documentation => _documentation}/.gitignore (100%)
rename src/{Documentation => _documentation}/api/.gitignore (100%)
rename src/{Documentation => _documentation}/api/index.md (100%)
rename src/{Documentation => _documentation}/apidoc/.gitignore (100%)
rename src/{Documentation => _documentation}/articles/intro.md (100%)
rename src/{Documentation => _documentation}/articles/toc.yml (100%)
rename src/{Documentation => _documentation}/articles/usage.md (100%)
rename src/{Documentation => _documentation}/docfx.json (100%)
rename src/{Documentation => _documentation}/images/logo.png (100%)
rename src/{Documentation => _documentation}/index.md (100%)
rename src/{Documentation => _documentation}/toc.yml (100%)
rename src/{ => net}/CLIParser.sln (100%)
rename src/{ => net}/CLIParser/ArgumentMetadata.cs (99%)
rename src/{ => net}/CLIParser/CLIParser.cs (99%)
rename src/{ => net}/CLIParser/CLIParser.csproj (96%)
rename src/{ => net}/CLIParser/InternalConst.cs (98%)
rename src/{ => net}/Common/CLIParser.snk (100%)
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index dd599af..cca25c6 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -60,7 +60,7 @@ jobs:
- uses: nuget/setup-nuget@v1
with:
nuget-version: '5.x'
- - run: nuget restore src\CLIParser.sln
+ - run: nuget restore src\net\CLIParser.sln
- name: Compile
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" tests\CLIParserTest.sln
@@ -72,7 +72,7 @@ jobs:
dotnet run --framework net7.0 --project tests\CLIParserTest\CLIParserTest.csproj
- name: Create Release
- run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\CLIParser.sln
+ run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\CLIParser.sln
- name: Clear documentation folder
run: Remove-Item .\docs\* -Recurse -Force -Exclude _config.yml,CNAME
@@ -80,7 +80,7 @@ jobs:
- name: Build documentation
run: |
choco install docfx
- cd src\Documentation
+ cd src\documentation
docfx
- uses: actions/upload-artifact@v3
diff --git a/.github/workflows/pullrequest.yaml b/.github/workflows/pullrequest.yaml
index 7252067..604f8e6 100644
--- a/.github/workflows/pullrequest.yaml
+++ b/.github/workflows/pullrequest.yaml
@@ -28,7 +28,7 @@ jobs:
- uses: nuget/setup-nuget@v1
with:
nuget-version: '5.x'
- - run: nuget restore src\CLIParser.sln
+ - run: nuget restore src\net\CLIParser.sln
- name: Compile
run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" tests\CLIParserTest.sln
@@ -49,5 +49,5 @@ jobs:
- name: Build documentation
run: |
choco install docfx
- cd src\Documentation
+ cd src\documentation
docfx
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index 31da448..664664b 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -31,10 +31,10 @@ jobs:
with:
nuget-version: '5.x'
- - run: nuget restore src\CLIParser.sln
+ - run: nuget restore src\net\CLIParser.sln
- name: Build NuGet Packages
- run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\CLIParser.sln
+ run: dotnet build --no-incremental --configuration Release /p:Platform="Any CPU" src\net\CLIParser.sln
- uses: nuget/setup-nuget@v1
with:
diff --git a/LICENSE b/LICENSE
index 5c9d0b0..f10bf54 100644
--- a/LICENSE
+++ b/LICENSE
@@ -1,6 +1,6 @@
MIT License
-Copyright (c) 2022 MASES s.r.l.
+Copyright (c) 2023 MASES s.r.l.
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
diff --git a/src/Documentation/.gitignore b/src/_documentation/.gitignore
similarity index 100%
rename from src/Documentation/.gitignore
rename to src/_documentation/.gitignore
diff --git a/src/Documentation/api/.gitignore b/src/_documentation/api/.gitignore
similarity index 100%
rename from src/Documentation/api/.gitignore
rename to src/_documentation/api/.gitignore
diff --git a/src/Documentation/api/index.md b/src/_documentation/api/index.md
similarity index 100%
rename from src/Documentation/api/index.md
rename to src/_documentation/api/index.md
diff --git a/src/Documentation/apidoc/.gitignore b/src/_documentation/apidoc/.gitignore
similarity index 100%
rename from src/Documentation/apidoc/.gitignore
rename to src/_documentation/apidoc/.gitignore
diff --git a/src/Documentation/articles/intro.md b/src/_documentation/articles/intro.md
similarity index 100%
rename from src/Documentation/articles/intro.md
rename to src/_documentation/articles/intro.md
diff --git a/src/Documentation/articles/toc.yml b/src/_documentation/articles/toc.yml
similarity index 100%
rename from src/Documentation/articles/toc.yml
rename to src/_documentation/articles/toc.yml
diff --git a/src/Documentation/articles/usage.md b/src/_documentation/articles/usage.md
similarity index 100%
rename from src/Documentation/articles/usage.md
rename to src/_documentation/articles/usage.md
diff --git a/src/Documentation/docfx.json b/src/_documentation/docfx.json
similarity index 100%
rename from src/Documentation/docfx.json
rename to src/_documentation/docfx.json
diff --git a/src/Documentation/images/logo.png b/src/_documentation/images/logo.png
similarity index 100%
rename from src/Documentation/images/logo.png
rename to src/_documentation/images/logo.png
diff --git a/src/Documentation/index.md b/src/_documentation/index.md
similarity index 100%
rename from src/Documentation/index.md
rename to src/_documentation/index.md
diff --git a/src/Documentation/toc.yml b/src/_documentation/toc.yml
similarity index 100%
rename from src/Documentation/toc.yml
rename to src/_documentation/toc.yml
diff --git a/src/CLIParser.sln b/src/net/CLIParser.sln
similarity index 100%
rename from src/CLIParser.sln
rename to src/net/CLIParser.sln
diff --git a/src/CLIParser/ArgumentMetadata.cs b/src/net/CLIParser/ArgumentMetadata.cs
similarity index 99%
rename from src/CLIParser/ArgumentMetadata.cs
rename to src/net/CLIParser/ArgumentMetadata.cs
index 389fb2d..c18e237 100644
--- a/src/CLIParser/ArgumentMetadata.cs
+++ b/src/net/CLIParser/ArgumentMetadata.cs
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022 MASES s.r.l.
+ * Copyright (c) 2023 MASES s.r.l.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/src/CLIParser/CLIParser.cs b/src/net/CLIParser/CLIParser.cs
similarity index 99%
rename from src/CLIParser/CLIParser.cs
rename to src/net/CLIParser/CLIParser.cs
index 923bf81..0520fb5 100644
--- a/src/CLIParser/CLIParser.cs
+++ b/src/net/CLIParser/CLIParser.cs
@@ -1,7 +1,7 @@
/*
* MIT License
*
- * Copyright (c) 2022 MASES s.r.l.
+ * Copyright (c) 2023 MASES s.r.l.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
diff --git a/src/CLIParser/CLIParser.csproj b/src/net/CLIParser/CLIParser.csproj
similarity index 96%
rename from src/CLIParser/CLIParser.csproj
rename to src/net/CLIParser/CLIParser.csproj
index 6d337fa..4d924c9 100644
--- a/src/CLIParser/CLIParser.csproj
+++ b/src/net/CLIParser/CLIParser.csproj
@@ -4,7 +4,7 @@