generated from kubernetes/kubernetes-template-project
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #35 from spowelljr/cleanupBuilding
CI: Cleanup building
- Loading branch information
Showing
11 changed files
with
71 additions
and
75 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -27,7 +27,6 @@ qrc_*.cpp | |
ui_*.h | ||
*.qmlc | ||
*.jsc | ||
*build-* | ||
*.qm | ||
*.prl | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
call "C:\Program Files\Microsoft Visual Studio\2022\Enterprise\VC\Auxiliary\Build\vcvarsall.bat" x64 | ||
qmake | ||
nmake | ||
powershell scripts\bundle-windows.ps1 minikube-gui-windows minikube-gui.exe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# Copyright 2023 The Kubernetes Authors All rights reserved. | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
[CmdletBinding()] | ||
param ( | ||
[string] $archiveName, [string] $targetName | ||
) | ||
|
||
$scriptDir = $PSScriptRoot | ||
$currentDir = Get-Location | ||
Write-Host "currentDir" $currentDir | ||
Write-Host "scriptDir" $scriptDir | ||
|
||
function Main() { | ||
New-Item -ItemType Directory $archiveName | ||
Copy-Item bin\$targetName $archiveName\ | ||
windeployqt --qmldir . --plugindir $archiveName\plugins --no-translations --compiler-runtime $archiveName\$targetName | ||
$excludeList = @("*.qmlc", "*.ilk", "*.exp", "*.lib", "*.pdb") | ||
Remove-Item -Path $archiveName -Include $excludeList -Recurse -Force | ||
$redistDll="{0}{1}\*.CRT\*.dll" -f $env:VCToolsRedistDir.Trim(),$env:msvcArch | ||
Copy-Item $redistDll $archiveName\ | ||
$sdkDll="{0}Redist\{1}ucrt\DLLs\{2}\*.dll" -f $env:WindowsSdkDir.Trim(),$env:WindowsSdkVersion.Trim(),$env:msvcArch | ||
Copy-Item $sdkDll $archiveName\ | ||
Compress-Archive -Path minikube-gui-windows minikube-gui-windows.zip | ||
} | ||
Main | ||
|
||
|
This file was deleted.
Oops, something went wrong.