Skip to content

Commit

Permalink
Rename winpackage.ps1 script
Browse files Browse the repository at this point in the history
  • Loading branch information
r52 committed Jun 9, 2017
1 parent b69c68d commit 1adc91d
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 36 deletions.
34 changes: 34 additions & 0 deletions deploy/win_package_bin.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
$name = $args[0]

if ($name -eq $null)
{
$name = "quasar"
}

$pkgname = "$($name)_win_x64.7z"

Write-Host "Packaging $($pkgname)..."

Copy-Item .\build\x64\Release\ .\Quasar\ -recurse

Remove-Item .\Quasar\*.ilk
Remove-Item .\Quasar\*.exp
Remove-Item .\Quasar\*.iobj
Remove-Item .\Quasar\*.ipdb
Remove-Item .\Quasar\plugin-api.lib

Remove-Item .\Quasar\plugins\*.exp
Remove-Item .\Quasar\plugins\*.iobj
Remove-Item .\Quasar\plugins\*.lib
Remove-Item .\Quasar\plugins\*.ipdb

Copy-Item .\widgets\ .\Quasar\ -recurse
Copy-Item README.md .\Quasar\
Copy-Item LICENSE.txt .\Quasar\

& 7z a -t7z $pkgname .\Quasar\

if ($env:APPVEYOR -eq $true)
{
Get-ChildItem $pkgname | % { Push-AppveyorArtifact $_.FullName -FileName $_.Name }
}
36 changes: 0 additions & 36 deletions deploy/winpackage.ps1

This file was deleted.

0 comments on commit 1adc91d

Please sign in to comment.