File tree Expand file tree Collapse file tree 3 files changed +32
-2
lines changed Expand file tree Collapse file tree 3 files changed +32
-2
lines changed Original file line number Diff line number Diff line change 1
-
1
+ //===----------------------------------------------------------------------===//
2
+ //
3
+ // This source file is part of the swift-memcache-gsoc open source project
4
+ //
5
+ // Copyright (c) 2023 Apple Inc. and the swift-memcache-gsoc project authors
6
+ // Licensed under Apache License v2.0
7
+ //
8
+ // See LICENSE.txt for license information
9
+ // See CONTRIBUTORS.txt for the list of swift-memcache-gsoc project authors
10
+ //
11
+ // SPDX-License-Identifier: Apache-2.0
12
+ //
13
+ //===----------------------------------------------------------------------===//
Original file line number Diff line number Diff line change 1
-
1
+ //===----------------------------------------------------------------------===//
2
+ //
3
+ // This source file is part of the swift-memcache-gsoc open source project
4
+ //
5
+ // Copyright (c) 2023 Apple Inc. and the swift-memcache-gsoc project authors
6
+ // Licensed under Apache License v2.0
7
+ //
8
+ // See LICENSE.txt for license information
9
+ // See CONTRIBUTORS.txt for the list of swift-memcache-gsoc project authors
10
+ //
11
+ // SPDX-License-Identifier: Apache-2.0
12
+ //
13
+ //===----------------------------------------------------------------------===//
Original file line number Diff line number Diff line change @@ -15,3 +15,9 @@ ENV LANGUAGE en_US.UTF-8
15
15
# tools
16
16
RUN mkdir -p $HOME/.tools
17
17
RUN echo 'export PATH="$HOME/.tools:$PATH"' >> $HOME/.profile
18
+
19
+ # swiftformat (until part of the toolchain)
20
+ ARG swiftformat_version=0.51.8
21
+ RUN git clone --branch $swiftformat_version --depth 1 https://github.com/nicklockwood/SwiftFormat $HOME/.tools/swift-format
22
+ RUN cd $HOME/.tools/swift-format && swift build -c release
23
+ RUN ln -s $HOME/.tools/swift-format/.build/release/swiftformat $HOME/.tools/swiftformat
You can’t perform that action at this time.
0 commit comments