Skip to content

Commit

Permalink
Removed unused code.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Doroshenko committed Jul 16, 2014
1 parent 6de3efa commit 75dd1ef
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions buildscript/build.ps1
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
# Framework Initialization
$scriptRoot = Split-Path (Resolve-Path $myInvocation.MyCommand.Path)
$env:PSModulePath = $env:PSModulePath + ";$scriptRoot\Tools\PowerCore\Framework"

$scriptRoot = Split-Path (Resolve-Path $myInvocation.MyCommand.Path)

if (-not (test-path "$env:ProgramFiles\7-Zip\7z.exe")) {throw "$env:ProgramFiles\7-Zip\7z.exe needed"}
set-alias sz "$env:ProgramFiles\7-Zip\7z.exe"

properties {
$projectName = "MobileDeviceDetector.Build"
Expand All @@ -17,13 +10,7 @@ properties {
task Package -depends Init, Create-Package, Clean {
}

function Remove-Resources {

}

task Init {
Remove-Resources

if (Test-Path "$buildFolder\Output") {
Remove-Item -Recurse -Force "$buildFolder\Output"
}
Expand Down Expand Up @@ -55,5 +42,4 @@ task Compile {
}

task Clean {
Remove-Resources
}

0 comments on commit 75dd1ef

Please sign in to comment.