Skip to content

Commit a9606fc

Browse files
authored
better formatting (#44)
motvation: update swift-format changes: * explicitly set swift version * update swift-format to v44
1 parent 2cd6bce commit a9606fc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.swiftformat

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# file options
22

3+
--swiftversion 5.1
34
--exclude .build
45

56
# format options

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ RUN chmod 755 $HOME/.tools/symbolicate-linux-fatal
3030

3131
# swiftformat (until part of the toolchain)
3232

33-
ARG swiftformat_version=0.40.12
33+
ARG swiftformat_version=0.44.0
3434
RUN git clone --branch $swiftformat_version --depth 1 https://github.com/nicklockwood/SwiftFormat $HOME/.tools/swift-format
3535
RUN cd $HOME/.tools/swift-format && swift build -c release
3636
RUN ln -s $HOME/.tools/swift-format/.build/release/swiftformat $HOME/.tools/swiftformat

0 commit comments

Comments
 (0)