Created
November 18, 2024 16:23
-
-
Save graphemecluster/7edc494484ef76d8e21271c3722246f4 to your computer and use it in GitHub Desktop.
Personal script to build https://github.com/TypeDuck-HK/schema and push to the `ios` branch for use by https://github.com/TypeDuck-HK/TypeDuck-iOS
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/bin/sh | |
| set -e | |
| FILTER=~/Documents/GitHub/Cantoboard/MissingGlyphRemover | |
| if [ ! -f $FILTER/main ]; then | |
| cd $FILTER | |
| swiftc main.swift | |
| fi | |
| cd ~/Documents/GitHub/Cantoboard/CantoboardFramework/Data/Rime | |
| git fetch | |
| git checkout -fB ios origin/master | |
| git reset origin/ios | |
| git restore .gitignore | |
| $FILTER/main --line cangjie3.dict.yaml | |
| $FILTER/main --line cangjie5.dict.yaml | |
| $FILTER/main --line loengfan.dict.yaml | |
| $FILTER/main --line luna_pinyin.dict.yaml | |
| $FILTER/main --line jyut6ping3.dict.yaml | |
| ~/Documents/GitHub/librime-ios-build/build/librime/macosx_arm64/bin/Release/rime_deployer.app/Contents/MacOS/rime_deployer --build . | |
| git commit -am "Update to Files from $(git rev-parse origin/master)" | |
| git push -u origin ios |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment