Skip to content

Commit

Permalink
Move generate_project to ci
Browse files Browse the repository at this point in the history
  • Loading branch information
BPerlakiH committed Jan 10, 2024
1 parent 97dbe2c commit 6b3c3d2
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 24 deletions.
22 changes: 19 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
21 changes: 0 additions & 21 deletions generate_project.zsh

This file was deleted.

0 comments on commit 6b3c3d2

Please sign in to comment.