Relocate files (hopefully final!)

This commit is contained in:
jhoneill
2019-12-01 18:46:45 +00:00
parent 88e2a23e1b
commit a37f6f3754
5 changed files with 2 additions and 4 deletions

11
InstallModule.ps1 Normal file
View File

@@ -0,0 +1,11 @@
param ($fullPath)
#$fullPath = 'C:\Program Files\WindowsPowerShell\Modules\ImportExcel'
if (-not $fullPath) {
$fullpath = $env:PSModulePath -split ":(?!\\)|;|," |
Where-Object {$_ -notlike ([System.Environment]::GetFolderPath("UserProfile")+"*") -and $_ -notlike "$pshome*"} |
Select-Object -First 1
$fullPath = Join-Path $fullPath -ChildPath "ImportExcel"
}
Push-location $PSScriptRoot
Robocopy . $fullPath /mir /XD .vscode .git CI __tests__ data mdHelp /XF appveyor.yml azure-pipelines.yml .gitattributes .gitignore filelist.txt install.ps1 InstallModule.ps1
Pop-Location