From 242207a05b6b30b0a481272d006b9d455885e062 Mon Sep 17 00:00:00 2001 From: Bliss Pisit Wetcha Date: Thu, 6 Jul 2023 18:22:41 +0700 Subject: [PATCH] [#490] Remove set_up_deliverable.sh and references [#490] Remove set_up_deliverable.sh and references --- .github/wiki/Deliverable-Configurations.md | 1 - make.sh | 1 - set_up_deliverable.sh | 26 ---------------------- 3 files changed, 28 deletions(-) delete mode 100644 set_up_deliverable.sh diff --git a/.github/wiki/Deliverable-Configurations.md b/.github/wiki/Deliverable-Configurations.md index 28c892d1..1568bc23 100644 --- a/.github/wiki/Deliverable-Configurations.md +++ b/.github/wiki/Deliverable-Configurations.md @@ -12,5 +12,4 @@ The file [DeliverableConstants.rb](https://github.com/nimblehq/ios-templates/blo ## Configure later - Developer can modify the `DeliverableConstants` at any time. -- Use the command `sh set_up_deliverable.sh` to open `DeliverableConstants` with Xcode. - Open the file manually at `fastlane/Constants/DeliverableConstants.rb` with any IDE. diff --git a/make.sh b/make.sh index 883d5e4b..1a20e7ca 100644 --- a/make.sh +++ b/make.sh @@ -218,7 +218,6 @@ if [[ -z "${CI}" ]]; then rm -rf fastlane/Tests rm -f set_up_test_firebase.sh rm -f set_up_test_testflight.sh - sh set_up_deliverable.sh cat Scripts/Swift/SetUpCICDService.swift Scripts/Swift/Extensions/FileManager+Utils.swift Scripts/Swift/Helpers/SafeShell.swift > t.swift && swift t.swift && rm -rf 't.swift' cat Scripts/Swift/SetUpDeliveryConstants.swift Scripts/Swift/Extensions/FileManager+Utils.swift Scripts/Swift/Helpers/SafeShell.swift > t.swift && swift t.swift && rm -rf 't.swift' fi diff --git a/set_up_deliverable.sh b/set_up_deliverable.sh deleted file mode 100644 index 445c4ca7..00000000 --- a/set_up_deliverable.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh -read -p "Which CI/CD service do you use (Can be edited later) [(g)ithub/(b)itrise/(c)odemagic/(l)ater]: " ciService - -if [ "$ciService" = "g" -o "$ciService" = "github" ]; then - echo "Setting template for Github Actions" - rm bitrise.yml - rm codemagic.yaml -elif [ "$ciService" = "b" -o "$ciService" = "bitrise" ]; then - echo "Setting template for Bitrise" - rm -rf .github/workflows - rm codemagic.yaml -elif [ "$ciService" = "c" -o "$ciService" = "codemagic" ]; then - echo "Setting template for CodeMagic" - rm -rf .github/workflows - rm bitrise.yml -else - echo "You can manually setup the template later." -fi -echo "✅ Completed" - -read -n1 -p "Do you want to set up Constants values? (Can be edited later) [Y/n]:" confirm -if ! echo $confirm | grep '^[Yy]\?$'; then - echo "✅ Completed" -else - open -a Xcode fastlane/Constants/Constant.swift -fi