Skip to content

Commit

Permalink
#8
Browse files Browse the repository at this point in the history
  • Loading branch information
dazinator committed Mar 19, 2016
1 parent 56de421 commit e50957a
Showing 1 changed file with 5 additions and 15 deletions.
20 changes: 5 additions & 15 deletions src/DnnPackager/tools/ModuleDeployment.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,8 @@
$solBuild = Get-Interface $solution.SolutionBuild ([EnvDTE.SolutionBuild])
$solActiveConfig = Get-Interface $solBuild.ActiveConfiguration ([EnvDTE.SolutionConfiguration])
$buildConfigName = [System.Convert]::ToString($solActiveConfig.Name)
}

if(!$sourcesFlag)
{
$sourcesFlag = ""
}
else
{
$sourcesFlag = "--sources"
}
}


if(!$attachFlag)
{
Expand All @@ -33,9 +25,7 @@
else
{
$attachFlag = "--attach"
}

$combinedFlags = "$sourcesFlag $attachFlag"
}

#if(!$attachFlag)
#{
Expand All @@ -44,8 +34,8 @@
#}
#else
#{
Write-Host "Executing build --envdteversion $dteVersion --processid $processId --configuration $buildConfigName --name $projectName --websitename $iisWebsiteName $attachFlag $sourcesFlag"
& $commandPath "build" "--envdteversion" $dteVersion "--processid" $processId "--configuration" $buildConfigName "--name" $projectName "--websitename" $iisWebsiteName $attachFlag $sourcesFlag | Write-Host
Write-Host "Executing build --envdteversion $dteVersion --processid $processId --configuration $buildConfigName --name $projectName --websitename $iisWebsiteName $attachFlag"
& $commandPath "build" "--envdteversion" $dteVersion "--processid" $processId "--configuration" $buildConfigName "--name" $projectName "--websitename" $iisWebsiteName $attachFlag | Write-Host
#}
}

Expand Down

2 comments on commit e50957a

@dazinator
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity DnnPackager :: Continuos Build 147 is now running

@dazinator
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TeamCity DnnPackager :: Continuos Build 2.0.6+2 outcome was SUCCESS
Summary: Running Build time: 00:00:09

Please sign in to comment.