remove unnecessary files ..

This commit is contained in:
2013-07-13 14:37:39 +02:00
parent b28728a0ad
commit caa1fc1c3f
6 changed files with 1 additions and 131 deletions
+1
View File
@@ -126,6 +126,7 @@ tmp
_old
_tmp
Gemfile.lock
WebWorkbench.mswwsettings
# RIA/Silverlight projects
Generated_Code/
@@ -1 +0,0 @@
Nothing to see here.
-43
View File
@@ -1,43 +0,0 @@
param($installPath, $toolsPath, $package, $project)
#$tempDir = [System.Environment]::GetFolderPath([System.Environment+SpecialFolder]::LocalApplicationData)
$tempDir = $env:TEMP
$tempDir = [System.IO.Path]::Combine($tempDir,"NuGetPSVariables")
if (![System.IO.Directory]::Exists($tempDir)) {[System.IO.Directory]::CreateDirectory($tempDir)}
explorer $tempDir
$file = [System.IO.Path]::Combine($tempDir, "nuget.variables.init.ps1.log")
write-host ===================================================
write-host init.ps1
write-host ===================================================
'===================================================' | out-file $file
'init.ps1' | out-file $file -append
'===================================================' | out-file $file -append
write-host '$installPath' variable = $installPath
'$installPath' | out-file $file -append
'==============' | out-file $file -append
$installPath | format-list | out-file $file -append
'==============' | out-file $file -append
write-host '$toolsPath' variable = $toolsPath
'$toolsPath' | out-file $file -append
'==============' | out-file $file -append
$toolsPath | format-list | out-file $file -append
'==============' | out-file $file -append
write-host '$package' variable = $package
'$package' | out-file $file -append
'==============' | out-file $file -append
$package | format-list | out-file $file -append
'==============' | out-file $file -append
write-host '$project' variable = $project
write-host Project is always null in init.ps1
'$project' | out-file $file -append
'==============' | out-file $file -append
'always null in init.ps1' | out-file $file -append
#$project | format-list | out-file $file -append
'==============' | out-file $file -append
write-host Writing output to $file
write-host ===================================================
-47
View File
@@ -1,47 +0,0 @@
param($installPath, $toolsPath, $package, $project)
$tempDir = $env:TEMP
$tempDir = [System.IO.Path]::Combine($tempDir,"NuGetPSVariables")
if (![System.IO.Directory]::Exists($tempDir)) {[System.IO.Directory]::CreateDirectory($tempDir)}
$file = [System.IO.Path]::Combine($tempDir, "nuget.variables.install.ps1.log")
write-host ===================================================
write-host install.ps1
write-host ===================================================
'===================================================' | out-file $file
'install.ps1' | out-file $file -append
'===================================================' | out-file $file -append
write-host '$installPath' variable = $installPath
'$installPath' | out-file $file -append
'==============' | out-file $file -append
$installPath | format-list | out-file $file -append
'==============' | out-file $file -append
write-host '$toolsPath' variable = $toolsPath
'$toolsPath' | out-file $file -append
'==============' | out-file $file -append
$toolsPath | format-list | out-file $file -append
'==============' | out-file $file -append
write-host '$package' variable = $package
'$package' | out-file $file -append
'==============' | out-file $file -append
$package | format-list | out-file $file -append
'==============' | out-file $file -append
write-host '$project' variable = $project
'$project' | out-file $file -append
'==============' | out-file $file -append
$project | format-list | out-file $file -append
'==============' | out-file $file -append
write-host Writing output to $file
write-host ===================================================
write-host Removing this package...
#uninstall-package $package.Name -ProjectName $project.Name
uninstall-package NuGetPSVariables -ProjectName $project.Name
#$project | Get-Member -View Adapted | foreach {write-host $_.Name : $_.Value}
#$project | Get-Member | foreach {write-host $_.name}
#thanks Keith: $project | Get-Member -MemberType Property | foreach {write-host "$($_.Name) : $($project.$($_.Name))"}
@@ -1,39 +0,0 @@
param($installPath, $toolsPath, $package, $project)
$tempDir = $env:TEMP
$tempDir = [System.IO.Path]::Combine($tempDir,"NuGetPSVariables")
if (![System.IO.Directory]::Exists($tempDir)) {[System.IO.Directory]::CreateDirectory($tempDir)}
$file = [System.IO.Path]::Combine($tempDir, "nuget.variables.uninstall.ps1.log")
write-host ===================================================
write-host uninstall.ps1
write-host ===================================================
'===================================================' | out-file $file
'uninstall.ps1' | out-file $file -append
'===================================================' | out-file $file -append
write-host '$installPath' variable = $installPath
'$installPath' | out-file $file -append
'==============' | out-file $file -append
$installPath | format-list | out-file $file -append
'==============' | out-file $file -append
write-host '$toolsPath' variable = $toolsPath
'$toolsPath' | out-file $file -append
'==============' | out-file $file -append
$toolsPath | format-list | out-file $file -append
'==============' | out-file $file -append
write-host '$package' variable = $package
'$package' | out-file $file -append
'==============' | out-file $file -append
$package | format-list | out-file $file -append
'==============' | out-file $file -append
write-host '$project' variable = $project
'$project' | out-file $file -append
'==============' | out-file $file -append
$project | format-list | out-file $file -append
'==============' | out-file $file -append
write-host Writing output to $file
write-host ===================================================
@@ -1 +0,0 @@
<web-workbench />