Mineplex2018-withcommit/Website/packages/T4Scaffolding.1.0.6/tools/install.ps1

9 lines
365 B
PowerShell
Raw Normal View History

2013-08-27 17:14:08 +02:00
param($rootPath, $toolsPath, $package, $project)
# Bail out if scaffolding is disabled (probably because you're running an incompatible version of T4Scaffolding.dll)
if (-not (Get-Module T4Scaffolding)) { return }
# Try to delete InstallationDummyFile.txt
if ($project) {
Get-ProjectItem "InstallationDummyFile.txt" -Project $project.Name | %{ $_.Delete() }
}