project-meteor-server/packages/NLua.1.3.2.1/tools/net35/install.ps1
2016-01-01 14:11:48 -05:00

12 lines
414 B
PowerShell

param($installPath, $toolsPath, $package, $project)
. (Join-Path $toolsPath "GetLibLuaPostBuildCmd.ps1")
# Get the current Post Build Event cmd
$currentPostBuildCmd = $project.Properties.Item("PostBuildEvent").Value
# Append our post build command if it's not already there
if (!$currentPostBuildCmd.Contains($LibLuaPostBuildCmd)) {
$project.Properties.Item("PostBuildEvent").Value += $LibLuaPostBuildCmd
}