Skip to content

Commit

Permalink
Remove Unneeded Build Flags (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
PSchmiedmayer authored Aug 24, 2021
1 parent 1a62903 commit ae147cb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ jobs:
- uses: actions/cache@v2
with:
path: .build
key: ${{ runner.os }}-${{matrix.linux}}-spm-${{ hashFiles('Package.resolved') }}
key: ${{ runner.os }}-${{matrix.linux}}-spm-${{ hashFiles('**/Package.resolved') }}
- name: Check Swift version
run: swift --version
- name: Release Build
Expand Down
4 changes: 2 additions & 2 deletions WebService/.vscode/tasks.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
{
"label": "build",
"type": "shell",
"command": "swift build -Xswiftc -Xfrontend -Xswiftc -sil-verify-none",
"command": "swift build",
"group": {
"kind": "build",
"isDefault": true
Expand All @@ -16,7 +16,7 @@
{
"label": "buildtests",
"type": "shell",
"command": "swift build -Xswiftc -Xfrontend -Xswiftc -sil-verify-none --build-tests"
"command": "swift build --build-tests"
}
]
}
2 changes: 1 addition & 1 deletion WebService/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ WORKDIR /build
COPY . .

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

# Switch to the staging area
WORKDIR /staging
Expand Down

0 comments on commit ae147cb

Please sign in to comment.