Build on Windows 11 environment
This commit is contained in:
16
scripts/build.ps1
Normal file
16
scripts/build.ps1
Normal file
@@ -0,0 +1,16 @@
|
||||
## Run this build script at root
|
||||
## Ex)
|
||||
## > powershell ./scripts/build.sh
|
||||
##
|
||||
|
||||
$CONSOLE_APP = "KissMeConsole"
|
||||
|
||||
Write-Output "build console bin/$CONSOLE_APP.exe"
|
||||
|
||||
Set-Location $CONSOLE_APP
|
||||
|
||||
Remove-Item -Recurse -Force .build
|
||||
|
||||
swift build -c release
|
||||
|
||||
Copy-Item ./.build/release/$CONSOLE_APP.exe ../bin
|
||||
Reference in New Issue
Block a user