-
Notifications
You must be signed in to change notification settings - Fork 72
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
e91bdfb
commit 00453da
Showing
3 changed files
with
103 additions
and
62 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,12 +3,14 @@ | |
*.user | ||
*.vs | ||
*.log | ||
*.zip | ||
|
||
.vscode | ||
|
||
# Build results | ||
build/ | ||
bin/ | ||
out/ | ||
obj/ | ||
publish/ | ||
|
||
|
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,12 @@ | ||
$runtimes = @("win-x64", "win-x86", "linux-x64", "ubuntu-x64", "osx-x64") | ||
|
||
foreach ($runtime in $runtimes) { | ||
Write-Host "> Compiling for $runtime" | ||
|
||
dotnet publish -c Release -r $runtime | ||
|
||
xcopy "Squidex.CLI\bin\Release\netcoreapp2.2\$runtime\publish" "out\$runtime\" /S /Y /Q | ||
|
||
Write-Host "> Compiling for $runtime completed" | ||
Write-Host "" | ||
} |