Ver código fonte

Fixing deployment script paths

Sebastien Ros 8 anos atrás
pai
commit
e7bcdafdb0
1 arquivos alterados com 3 adições e 3 exclusões
  1. 3 3
      deploynuget.ps1

+ 3 - 3
deploynuget.ps1

@@ -1,11 +1,11 @@
-$projectjson = ".\jint\project.json"
+$projectjson = ".\jint"
 
-if(![System.IO.Directory]::Exists("./.nuget")){
+if(![System.IO.Directory]::Exists(".nuget")){
   New-Item ".nuget" -type directory
   Invoke-WebRequest -Uri "https://dist.nuget.org/win-x86-commandline/latest/nuget.exe" -OutFile "./.nuget/nuget.exe"
 }
 
-if([System.IO.Directory]::Exists("./artifacts")){
+if([System.IO.Directory]::Exists("artifacts")){
   Remove-Item .\artifacts -Force -Recurse
 }