Skip to content

Commit 00d9de6

Browse files
committed
Naming convention
1 parent 67d3e2e commit 00d9de6

53 files changed

Lines changed: 18 additions & 18 deletions

Some content is hidden

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

.gitignore

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/**/*.user
22
/.idea/
33
/.vs/
4-
/bin/
54
/*/obj/
6-
/var/
5+
/Binaries/
6+
/Temp/

Invoke.ps1

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ param (
44
[Parameter(Position = 0)]
55
[ArgumentCompleter({
66
param ([string] $commandName, [string] $parameterName, [string] $wordToComplete)
7-
(Get-Item "$PSScriptRoot/tool/$wordToComplete*.ps1").BaseName
7+
(Get-Item "$PSScriptRoot/Scripts/$wordToComplete*.ps1").BaseName
88
})]
9-
[ValidateScript({ Test-Path "$PSScriptRoot/tool/$_.ps1" -PathType Leaf }, ErrorMessage = "The specified command does not exist.")]
9+
[ValidateScript({ Test-Path "$PSScriptRoot/Scripts/$_.ps1" -PathType Leaf }, ErrorMessage = "The specified command does not exist.")]
1010
[string] $Command = "Default",
1111

1212
# Value indicating whether to enable the release configuration.
@@ -15,4 +15,4 @@ param (
1515

1616
$ErrorActionPreference = "Stop"
1717
$PSNativeCommandUseErrorActionPreference = $true
18-
& "$PSScriptRoot/tool/$Command.ps1"
18+
& "$PSScriptRoot/Scripts/$Command.ps1"

ReadMe.md

Lines changed: 2 additions & 2 deletions
File renamed without changes.
File renamed without changes.

Scripts/Clean.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
"Deleting all generated files..."
2+
Remove-Item */obj -Force -Recurse
3+
Remove-Item Binaries -ErrorAction Ignore -Force -Recurse
4+
Remove-Item Temp/* -Exclude .gitkeep -Force -Recurse
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ function Publish-NuGetPackage {
6464
[switch] $NoBuild
6565
)
6666

67-
$output = "$PSScriptRoot/../var/NuGet"
67+
$output = "$PSScriptRoot/../Temp/NuGet"
6868
$argumentList = "--output", $output
6969
if ($NoBuild) { $argumentList += "--no-build" }
7070
dotnet pack @argumentList

0 commit comments

Comments
 (0)