Skip to content

Commit

Permalink
Adding build scripts for Linux and Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabe Stocco committed Mar 27, 2019
1 parent 95b134b commit bc197b6
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions Cli/build.ps1
@@ -1,14 +1,13 @@
param (
param (
[string]$release = "Debug"
)
)

if ($release -eq "Debug"){
dotnet build
}
if ($release -eq "Release"){
dotnet publish -r win10-x64 --self-contained true
dotnet publish -c Release -r win10-x64 --self-contained true
if ($?) {
..\Tools\warp-packer.exe --arch windows-x64 --input_dir bin\Debug\netcoreapp2.1\win10-x64\publish\ --exec AttackSurfaceAnalyzerCli.exe --output AttackSurfaceAnalyzerCli.exe
..\Tools\warp-packer.exe --arch windows-x64 --input_dir bin\Release\netcoreapp2.1\win10-x64\publish\ --exec AttackSurfaceAnalyzerCli.exe --output AttackSurfaceAnalyzerCli.exe
}
}

}
Binary file removed Tools/warp-packer.exe
Binary file not shown.

0 comments on commit bc197b6

Please sign in to comment.