diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4d8eb9b..8deba38 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -33,9 +33,25 @@ jobs: env: DWDS_HTTP_BASIC_ACCESS_AUTHENTICATION: ${{ secrets.DWDS_HTTP_BASIC_ACCESS_AUTHENTICATION }} run: | - cp custom/generate_project.zsh . - chmod +x generate_project.zsh - zsh ./generate_project.zsh + # move the custom files under the same folder as the kiwix repo + mv custom/ apple/ + cd apple/custom + + # make a custom copy of the Info.plist file + cp ../Support/Info.plist Custom.plist + + # download all the zim files, + # generate all the branded config files, + # generate the custom project file containing all brands as targets + python "src/generate_and_download.py" + + # move the custom project file to the main folder + mv custom_project.yml ../ + cd .. + ls -la + + # run xcodegen on our custom project + xcodegen -s custom_project.yml - name: Select Xcode run: sudo xcode-select --switch /Applications/Xcode_15.0.1.app diff --git a/generate_project.zsh b/generate_project.zsh deleted file mode 100644 index 7be5233..0000000 --- a/generate_project.zsh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/zsh - -# move the custom files under the same folder as the kiwix repo -mv custom/ apple/ -cd apple/custom - -# make a custom copy of the Info.plist file -cp ../Support/Info.plist Custom.plist - -# download all the zim files, -# generate all the branded config files, -# generate the custom project file containing all brands as targets -python "src/generate_and_download.py" - -# move the custom project file to the main folder -mv custom_project.yml ../ -cd .. -ls -la - -# run xcodegen on our custom project -xcodegen -s custom_project.yml \ No newline at end of file