Skip to content

Commit ae147cb

Browse files
Remove Unneeded Build Flags (#4)
1 parent 1a62903 commit ae147cb

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/workflows/build-and-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ jobs:
8888
- uses: actions/cache@v2
8989
with:
9090
path: .build
91-
key: ${{ runner.os }}-${{matrix.linux}}-spm-${{ hashFiles('Package.resolved') }}
91+
key: ${{ runner.os }}-${{matrix.linux}}-spm-${{ hashFiles('**/Package.resolved') }}
9292
- name: Check Swift version
9393
run: swift --version
9494
- name: Release Build

WebService/.vscode/tasks.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
{
55
"label": "build",
66
"type": "shell",
7-
"command": "swift build -Xswiftc -Xfrontend -Xswiftc -sil-verify-none",
7+
"command": "swift build",
88
"group": {
99
"kind": "build",
1010
"isDefault": true
@@ -16,7 +16,7 @@
1616
{
1717
"label": "buildtests",
1818
"type": "shell",
19-
"command": "swift build -Xswiftc -Xfrontend -Xswiftc -sil-verify-none --build-tests"
19+
"command": "swift build --build-tests"
2020
}
2121
]
2222
}

WebService/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ WORKDIR /build
2525
COPY . .
2626

2727
# Build everything, with optimizations
28-
RUN swift build -Xswiftc -Xfrontend -Xswiftc -sil-verify-none -c release --package-path ./WebService
28+
RUN swift build -c release --package-path ./WebService
2929

3030
# Switch to the staging area
3131
WORKDIR /staging

0 commit comments

Comments
 (0)