daml/dev-env/windows/build.ps1
Digital Asset GmbH 05e691f558 open-sourcing daml
2019-04-04 09:33:38 +01:00

5 lines
396 B
PowerShell

Remove-Item $PSScriptRoot\dist -Recurse -Force -ErrorAction Ignore
New-Item -ItemType directory -Path $PSScriptRoot\dist
$version = (Get-Content "$PSScriptRoot/VERSION" | Select -Index 0).Trim()
Compress-Archive -Path $PSScriptRoot\bin, $PSScriptRoot\manifests, $PSScriptRoot\libexec, $PSScriptRoot\VERSION -CompressionLevel Fastest -Update -DestinationPath $PSScriptRoot\dist\dadew-$version.zip