diff --git a/.gitignore b/.gitignore index a50db38..3e6f133 100644 --- a/.gitignore +++ b/.gitignore @@ -63,5 +63,5 @@ ImportExcel.zip .vscode/settings.json ~$* -InstallModule.ps1 -PublishToGallery.ps1 +# InstallModule.ps1 +# PublishToGallery.ps1 diff --git a/InstallModule.ps1 b/InstallModule.ps1 new file mode 100644 index 0000000..d217c5f --- /dev/null +++ b/InstallModule.ps1 @@ -0,0 +1,3 @@ +$fullPath = 'C:\Program Files\WindowsPowerShell\Modules\ImportExcel' + +Robocopy . $fullPath /mir /XD .vscode .git examples data /XF appveyor.yml azure-pipelines.yml .gitattributes .gitignore \ No newline at end of file diff --git a/PublishToGallery.ps1 b/PublishToGallery.ps1 new file mode 100644 index 0000000..0b55bd1 --- /dev/null +++ b/PublishToGallery.ps1 @@ -0,0 +1,6 @@ +$p = @{ + Name = "ImportExcel" + NuGetApiKey = $NuGetApiKey +} + +Publish-Module @p \ No newline at end of file