Skip to content

Commit 04dd7ec

Browse files
committed
moved folders
1 parent 3010e64 commit 04dd7ec

File tree

1,578 files changed

+9
-9
lines changed

Some content is hidden

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

1,578 files changed

+9
-9
lines changed

BuildScripts/Build-Debug.ps1

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
Write-Host "Building PnP.PowerShell" -ForegroundColor Yellow
22

3-
dotnet build ..\Commands\PnP.PowerShell.csproj --nologo --configuration Debug
3+
dotnet build ../src/Commands/PnP.PowerShell.csproj --nologo --configuration Debug
44

55
$documentsFolder = [environment]::getfolderpath("mydocuments");
66

77
if($IsLinux -or $isMacOS)
88
{
99
$destinationFolder = "$documentsFolder/.local/share/powershell/Modules/PnP.PowerShell"
1010
} else {
11-
$destinationFolder = "$documentsFolder\PowerShell\Modules\PnP.PowerShell"
11+
$destinationFolder = "$documentsFolder/PowerShell/Modules/PnP.PowerShell"
1212
}
1313

1414
$corePath = "$destinationFolder/Core"
@@ -35,12 +35,12 @@ Try {
3535
Write-Host "Copying files to $destinationFolder" -ForegroundColor Yellow
3636

3737
$commonFiles = [System.Collections.Generic.Hashset[string]]::new()
38-
Copy-Item -Path "../Commands/bin/Debug/netcoreapp3.1/ModuleFiles/*.ps1xml" -Destination "$destinationFolder"
39-
Get-ChildItem -Path "$PSScriptRoot/../ALC/bin/Debug/netstandard2.0" | Where-Object {$_.Extension -in '.dll','.pdb' } | Foreach-Object { [void]$commonFiles.Add($_.Name); Copy-Item -LiteralPath $_.FullName -Destination $commonPath }
40-
Get-ChildItem -Path "$PSScriptRoot/../Commands/bin/Debug/netcoreapp3.1" | Where-Object {$_.Extension -in '.dll','.pdb' -and -not $commonFiles.Contains($_.Name) } | Foreach-Object { Copy-Item -LiteralPath $_.FullName -Destination $corePath }
38+
Copy-Item -Path "../src/Commands/bin/Debug/netcoreapp3.1/ModuleFiles/*.ps1xml" -Destination "$destinationFolder"
39+
Get-ChildItem -Path "$PSScriptRoot/../src/ALC/bin/Debug/netstandard2.0" | Where-Object {$_.Extension -in '.dll','.pdb' } | Foreach-Object { [void]$commonFiles.Add($_.Name); Copy-Item -LiteralPath $_.FullName -Destination $commonPath }
40+
Get-ChildItem -Path "$PSScriptRoot/../src/Commands/bin/Debug/netcoreapp3.1" | Where-Object {$_.Extension -in '.dll','.pdb' -and -not $commonFiles.Contains($_.Name) } | Foreach-Object { Copy-Item -LiteralPath $_.FullName -Destination $corePath }
4141
if(!$IsLinux -and !$IsMacOs)
4242
{
43-
Get-ChildItem -Path "$PSScriptRoot/../Commands/bin/Debug/net461" | Where-Object {$_.Extension -in '.dll','.pdb' -and -not $commonFiles.Contains($_.Name) } | Foreach-Object { Copy-Item -LiteralPath $_.FullName -Destination $frameworkPath }
43+
Get-ChildItem -Path "$PSScriptRoot/../src/Commands/bin/Debug/net461" | Where-Object {$_.Extension -in '.dll','.pdb' -and -not $commonFiles.Contains($_.Name) } | Foreach-Object { Copy-Item -LiteralPath $_.FullName -Destination $frameworkPath }
4444
}
4545
}
4646
Catch
@@ -59,16 +59,16 @@ Try {
5959
{
6060
$destinationFolder = "$documentsFolder/.local/share/powershell/Modules/PnP.PowerShell"
6161
} else {
62-
$destinationFolder = "$documentsFolder\PowerShell\Modules\PnP.PowerShell"
62+
$destinationFolder = "$documentsFolder/PowerShell/Modules/PnP.PowerShell"
6363
}
6464

65-
Import-Module -Name "$destinationFolder\Core\PnP.PowerShell.dll" -DisableNameChecking
65+
Import-Module -Name "$destinationFolder/Core/PnP.PowerShell.dll" -DisableNameChecking
6666
$cmdlets = get-command -Module PnP.PowerShell | ForEach-Object{"`"$_`""}
6767
$cmdlets -Join ","
6868
}
6969
$cmdletsString = Start-Job -ScriptBlock $scriptBlock | Receive-Job -Wait
7070
$result
71-
$productInfo = Get-ChildItem "$destinationFolder\Core\PnP.PowerShell.dll" | Select-Object -ExpandProperty VersionInfo
71+
$productInfo = Get-ChildItem "$destinationFolder/Core/PnP.PowerShell.dll" | Select-Object -ExpandProperty VersionInfo
7272
$manifest = "@{
7373
NestedModules = if (`$PSEdition -eq 'Core')
7474
{
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)