12 lines
416 B
Plaintext
12 lines
416 B
Plaintext
|
|
param($installPath, $toolsPath, $package, $project)
|
||
|
|
|
||
|
|
. (Join-Path $toolsPath "GetHDFPostBuildCmd.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($HDFPostBuildCmd)) {
|
||
|
|
$project.Properties.Item("PostBuildEvent").Value += $HDFPostBuildCmd
|
||
|
|
}
|