mirror of
https://github.com/SFML/CSFML.git
synced 2026-10-26 21:16:13 +01:00
Remove trailing whitespace
This commit is contained in:
1 parent
4f540b9cbb
commit
9a355d784b
9 files changed
+33
-33
No files matched your search
@@ -18,39 +18,39 @@ $Image = $null
|
||||
$Shell = $null
|
||||
|
||||
switch ($RID) {
|
||||
'alpine-x64' {
|
||||
$Image = 'alpine:3.7'
|
||||
'alpine-x64' {
|
||||
$Image = 'alpine:3.7'
|
||||
$Shell = '/bin/sh'
|
||||
}
|
||||
'debian-x64' {
|
||||
$Image = 'debian:bullseye'
|
||||
'debian-x64' {
|
||||
$Image = 'debian:bullseye'
|
||||
$Shell = '/bin/bash'
|
||||
}
|
||||
'ubuntu-x64' {
|
||||
$Image = 'ubuntu:22.04'
|
||||
'ubuntu-x64' {
|
||||
$Image = 'ubuntu:22.04'
|
||||
$Shell = '/bin/bash'
|
||||
}
|
||||
'fedora-x64' {
|
||||
$Image = 'fedora:37'
|
||||
'fedora-x64' {
|
||||
$Image = 'fedora:37'
|
||||
$Shell = '/bin/bash'
|
||||
}
|
||||
'linux-x64' {
|
||||
$Image = 'ubuntu:22.04'
|
||||
'linux-x64' {
|
||||
$Image = 'ubuntu:22.04'
|
||||
$Shell = '/bin/bash'
|
||||
}
|
||||
'linux-musl-x64' {
|
||||
$Image = 'alpine:3.15'
|
||||
'linux-musl-x64' {
|
||||
$Image = 'alpine:3.15'
|
||||
$Shell = '/bin/sh'
|
||||
}
|
||||
'linux-arm' {
|
||||
$Image = 'arm32v7/ubuntu:22.04'
|
||||
'linux-arm' {
|
||||
$Image = 'arm32v7/ubuntu:22.04'
|
||||
$Shell = '/bin/bash'
|
||||
}
|
||||
'linux-arm64' {
|
||||
$Image = 'arm64v8/ubuntu:22.04'
|
||||
'linux-arm64' {
|
||||
$Image = 'arm64v8/ubuntu:22.04'
|
||||
$Shell = '/bin/bash'
|
||||
}
|
||||
Default {
|
||||
Default {
|
||||
Write-Error "Unknown Runtime Identifier $RID"
|
||||
exit
|
||||
}
|
||||
@@ -61,4 +61,4 @@ Write-Host "Building $RID with image $Image using $Shell"
|
||||
$RepoRoot = (Get-Item (git rev-parse --show-toplevel)).FullName
|
||||
|
||||
docker run --rm --mount "type=bind,source=$RepoRoot,destination=/csfml/" $Image $Shell -c "cd /csfml/tools/nuget/; ./docker.$RID.sh"
|
||||
exit $LastExitCode
|
||||
exit $LastExitCode
|
||||
Reference in new issue
Block a user