@@ -30,7 +30,7 @@ if [ "${SKIP_SWIFT_BOOTSTRAP:-}" != true ]; then
3030 puts " Install SwiftLint v${SWIFT_LINT_VERSION} "
3131 DOWNLOAD_URL=" https://github.com/realm/SwiftLint/releases/download/${SWIFT_LINT_VERSION} /SwiftLint.pkg"
3232 DOWNLOAD_PATH=" /tmp/SwiftLint-${SWIFT_LINT_VERSION} .pkg"
33- curl -sL " $DOWNLOAD_URL " -o " $DOWNLOAD_PATH "
33+ wget " $DOWNLOAD_URL " -O " $DOWNLOAD_PATH "
3434 sudo installer -pkg " $DOWNLOAD_PATH " -target /
3535 swiftlint version
3636
@@ -39,7 +39,7 @@ if [ "${SKIP_SWIFT_BOOTSTRAP:-}" != true ]; then
3939 DOWNLOAD_PATH=" /tmp/swiftformat-${SWIFT_FORMAT_VERSION} .zip"
4040 BIN_PATH=" /usr/local/bin/swiftformat"
4141 brew uninstall swiftformat || true
42- curl -sL " $DOWNLOAD_URL " -o " $DOWNLOAD_PATH "
42+ wget " $DOWNLOAD_URL " -O " $DOWNLOAD_PATH "
4343 unzip -o " $DOWNLOAD_PATH " -d /tmp/swiftformat-${SWIFT_FORMAT_VERSION}
4444 sudo mv /tmp/swiftformat-${SWIFT_FORMAT_VERSION} /swiftformat " $BIN_PATH "
4545 sudo chmod +x " $BIN_PATH "
@@ -50,7 +50,7 @@ if [ "${SKIP_SWIFT_BOOTSTRAP:-}" != true ]; then
5050 DOWNLOAD_PATH=" /tmp/swiftgen-${SWIFT_GEN_VERSION} .zip"
5151 INSTALL_DIR=" /usr/local/lib/swiftgen"
5252 BIN_PATH=" /usr/local/bin/swiftgen"
53- curl -sL " $DOWNLOAD_URL " -o " $DOWNLOAD_PATH "
53+ wget " $DOWNLOAD_URL " -O " $DOWNLOAD_PATH "
5454 sudo rm -rf " $INSTALL_DIR "
5555 sudo mkdir -p " $INSTALL_DIR "
5656 sudo unzip -o " $DOWNLOAD_PATH " -d " $INSTALL_DIR "
6262if [[ ${INSTALL_SONAR-default} == true ]]; then
6363 puts " Install sonar scanner v${SONAR_VERSION} "
6464 DOWNLOAD_URL=" https://binaries.sonarsource.com/Distribution/sonar-scanner-cli/sonar-scanner-cli-${SONAR_VERSION} -macosx-x64.zip"
65- curl -sL " ${DOWNLOAD_URL} " -o ./fastlane/sonar.zip
65+ wget " ${DOWNLOAD_URL} " -O ./fastlane/sonar.zip
6666 cd fastlane
6767 unzip sonar.zip
6868 rm sonar.zip
@@ -78,19 +78,19 @@ cp Scripts/DemoApp-StreamDevelopers.xcscheme StreamChat.xcodeproj/xcshareddata/x
7878if [[ ${INSTALL_ALLURE-default} == true ]]; then
7979 puts " Install allurectl v${ALLURECTL_VERSION} "
8080 DOWNLOAD_URL=" https://github.com/allure-framework/allurectl/releases/download/${ALLURECTL_VERSION} /allurectl_darwin_amd64"
81- curl -sL " ${DOWNLOAD_URL} " -o ./fastlane/allurectl
81+ wget " ${DOWNLOAD_URL} " -O ./fastlane/allurectl
8282 chmod +x ./fastlane/allurectl
8383
8484 puts " Install xcresults v${XCRESULTS_VERSION} "
8585 DOWNLOAD_URL=" https://github.com/eroshenkoam/xcresults/releases/download/${XCRESULTS_VERSION} /xcresults"
86- curl -sL " ${DOWNLOAD_URL} " -o ./fastlane/xcresults
86+ wget " ${DOWNLOAD_URL} " -O ./fastlane/xcresults
8787 chmod +x ./fastlane/xcresults
8888fi
8989
9090if [[ ${INSTALL_YEETD-default} == true ]]; then
9191 PACKAGE=" yeetd-normal.pkg"
9292 puts " Install yeetd v${YEETD_VERSION} "
93- wget " https://github.com/biscuitehh/yeetd/releases/download/${YEETD_VERSION} /${PACKAGE} "
93+ wget " https://github.com/biscuitehh/yeetd/releases/download/${YEETD_VERSION} /${PACKAGE} " -O " ${PACKAGE} "
9494 sudo installer -pkg ${PACKAGE} -target /
9595 puts " Running yeetd daemon"
9696 yeetd &
110110if [[ ${INSTALL_IPSW-default} == true ]]; then
111111 puts " Install ipsw v${IPSW_VERSION} "
112112 FILE=" ipsw_${IPSW_VERSION} _macOS_universal.tar.gz"
113- wget " https://github.com/blacktop/ipsw/releases/download/v${IPSW_VERSION} /${FILE} "
113+ wget " https://github.com/blacktop/ipsw/releases/download/v${IPSW_VERSION} /${FILE} " -O " ${FILE} "
114114 tar -xzf " $FILE "
115115 chmod +x ipsw
116116 sudo mv ipsw /usr/local/bin/
119119if [[ ${INSTALL_INTERFACE_ANALYZER-default} == true ]]; then
120120 puts " Install interface-analyser v${INTERFACE_ANALYZER_VERSION} "
121121 FILE=" interface-analyser"
122- wget " https://github.com/GetStream/stream-module-interface-analyser/releases/download/v${INTERFACE_ANALYZER_VERSION} /${FILE} "
122+ wget " https://github.com/GetStream/stream-module-interface-analyser/releases/download/v${INTERFACE_ANALYZER_VERSION} /${FILE} " -O " ${FILE} "
123123 chmod +x ${FILE}
124124 sudo mv ${FILE} /usr/local/bin/
125125fi
0 commit comments