Lines Matching +full:build +full:- +full:swift
9 # http://www.apache.org/licenses/LICENSE-2.0
17 set -e
18 set -x
25 wget https://raw.githubusercontent.com/creationix/nvm/v0.31.0/nvm.sh -O ~/.nvm/nvm.sh
28 node --version
29 curl -o- -L https://yarnpkg.com/install.sh | bash
31 yarn config set prefix ~/.yarn -g
34 # Install swift
35 sudo apt-get install \
38 libc6-dev \
41 libgcc-5-dev \
43 libsqlite3-0 \
44 libstdc++-5-dev \
46 pkg-config \
48 zlib1g-dev
50 …SWIFT_URL=https://swift.org/builds/swift-5.3.1-release/ubuntu1604/swift-5.3.1-RELEASE/swift-5.3.1-…
51 curl -fSsL "$SWIFT_URL" -o swift.tar.gz
54 tar -xvzf swift.tar.gz -C ~/swiftbuild
56 export PATH="~/swiftbuild/swift-5.3.1-RELEASE-ubuntu16.04/usr/bin:$PATH"
60 wget -c https://golang.org/dl/go1.15.2.linux-amd64.tar.gz
61 tar -xvzf go1.15.2.linux-amd64.tar.gz -C ~/gobuild
65 swift --version
67 yarn -v
68 node -v
72 # installing swift formatter
73 git clone --depth 1 --branch 0.47.4 https://github.com/nicklockwood/SwiftFormat.git
75 swift build -c release
76 sudo cp .build/release/swiftformat /usr/local/bin/swiftformat
81 yarn -v
82 node -v
89 export PATH="~/swift/swift/usr/bin:$PATH"