File tree 1 file changed +4
-2
lines changed
1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -27,11 +27,12 @@ Thank you for considering contributing to JavaScriptKit! We welcome contribution
27
27
SWIFT_TOOLCHAIN_CHANNEL=swift-6.0.2-release;
28
28
SWIFT_TOOLCHAIN_TAG=" swift-6.0.2-RELEASE" ;
29
29
SWIFT_SDK_TAG=" swift-wasm-6.0.2-RELEASE" ;
30
+ SWIFT_SDK_CHECKSUM=" 6ffedb055cb9956395d9f435d03d53ebe9f6a8d45106b979d1b7f53358e1dcb4" ;
30
31
pkg=" $( mktemp -d) /InstallMe.pkg" ; set -ex;
31
32
curl -o " $pkg " " https://download.swift.org/$SWIFT_TOOLCHAIN_CHANNEL /xcode/$SWIFT_TOOLCHAIN_TAG /$SWIFT_TOOLCHAIN_TAG -osx.pkg" ;
32
33
installer -pkg " $pkg " -target CurrentUserHomeDirectory;
33
34
export TOOLCHAINS=" $( plutil -extract CFBundleIdentifier raw ~ /Library/Developer/Toolchains/$SWIFT_TOOLCHAIN_TAG .xctoolchain/Info.plist) " ;
34
- swift sdk install " https://github.com/swiftwasm/swift/releases/download/$SWIFT_SDK_TAG /$SWIFT_SDK_TAG -wasm32-unknown-wasi.artifactbundle.zip" ;
35
+ swift sdk install " https://github.com/swiftwasm/swift/releases/download/$SWIFT_SDK_TAG /$SWIFT_SDK_TAG -wasm32-unknown-wasi.artifactbundle.zip" --checksum " $SWIFT_SDK_CHECKSUM " ;
35
36
)
36
37
```
37
38
@@ -44,7 +45,8 @@ Thank you for considering contributing to JavaScriptKit! We welcome contribution
44
45
` ` ` bash
45
46
(
46
47
SWIFT_SDK_TAG=" swift-wasm-6.0.2-RELEASE" ;
47
- swift sdk install " https://github.com/swiftwasm/swift/releases/download/$SWIFT_SDK_TAG /$SWIFT_SDK_TAG -wasm32-unknown-wasi.artifactbundle.zip" ;
48
+ SWIFT_SDK_CHECKSUM=" 6ffedb055cb9956395d9f435d03d53ebe9f6a8d45106b979d1b7f53358e1dcb4" ;
49
+ swift sdk install " https://github.com/swiftwasm/swift/releases/download/$SWIFT_SDK_TAG /$SWIFT_SDK_TAG -wasm32-unknown-wasi.artifactbundle.zip" --checksum " $SWIFT_SDK_CHECKSUM " ;
48
50
)
49
51
` ` `
50
52
You can’t perform that action at this time.
0 commit comments