Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Create a simple script to copy files and run the app
  • Loading branch information
brianmichel committed Aug 29, 2023
commit 75b5d7846ce49ee3f856abc204e16c5911a26a50
11 changes: 11 additions & 0 deletions run.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# Ensures that we copy the right things into the build folder when we run
# Ideally this would be done with an SPM plugin, but they don't work on
# Windows yet, so here we are.
Write-Output "Copying Info.plist..."
Copy-Item Examples\FireBaseUI\Info.plist .build\debug\

Write-Output "Copying manifest..."
Copy-Item Examples\FireBaseUI\FireBaseUI.exe.manifest .build\debug\

Write-Output "Running application"
swift run -Xswiftc "-I${env:SDKROOT}\usr\lib\swift_static\windows"