Skip to content

Commit

Permalink
change spacing (code style)
Browse files Browse the repository at this point in the history
  • Loading branch information
nefarius2001 committed Feb 14, 2021
1 parent 31fe6fb commit 0a45a8f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
6 changes: 3 additions & 3 deletions windows/autobuild/autobuild_windowsinstaller_2_build.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,11 @@ param (
[string] $jamulus_project_path = $Env:jamulus_project_path
)
# Sanity check of parameters
if(($jamulus_project_path -eq $null) -or ($jamulus_project_path -eq "")){
if (($jamulus_project_path -eq $null) -or ($jamulus_project_path -eq "")) {
throw "expecting ""jamulus_project_path"" as parameter or ENV"
}elseif (!(Test-Path -Path $jamulus_project_path)){
} elseif (!(Test-Path -Path $jamulus_project_path)) {
throw "non.existing jamulus_project_path: $jamulus_project_path"
}else{
} else {
echo "jamulus_project_path is valid: $jamulus_project_path"
}

Expand Down
10 changes: 5 additions & 5 deletions windows/autobuild/autobuild_windowsinstaller_3_copy_files.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ param (
[string] $jamulus_buildversionstring = $Env:jamulus_buildversionstring
)
# Sanity check of parameters
if(($jamulus_project_path -eq $null) -or ($jamulus_project_path -eq "")){
if (($jamulus_project_path -eq $null) -or ($jamulus_project_path -eq "")) {
throw "expecting ""jamulus_project_path"" as parameter or ENV"
}elseif (!(Test-Path -Path $jamulus_project_path)){
} elseif (!(Test-Path -Path $jamulus_project_path)) {
throw "non.existing jamulus_project_path: $jamulus_project_path"
}else{
} else {
echo "jamulus_project_path is valid: $jamulus_project_path"
}
if(($jamulus_buildversionstring -eq $null) -or ($jamulus_buildversionstring -eq "")){
if (($jamulus_buildversionstring -eq $null) -or ($jamulus_buildversionstring -eq "")) {
echo "expecting ""jamulus_buildversionstring"" as parameter or ENV"
echo "using ""NoVersion"" as jamulus_buildversionstring for filenames"
$jamulus_buildversionstring = "NoVersion"
Expand All @@ -42,7 +42,7 @@ cp "$jamulus_project_path\deploy\Jamulus*installer-win.exe" "$jamulus_project_pa

Function github_output_value
{
param(
param (
[Parameter(Mandatory=$true)]
[string] $name,
[Parameter(Mandatory=$true)]
Expand Down

0 comments on commit 0a45a8f

Please sign in to comment.