diff options
| author | Fuwn <[email protected]> | 2025-09-04 19:34:02 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-09-04 19:34:02 -0700 |
| commit | 0803714c7b6f4f989d788dbf7c535c197b977b75 (patch) | |
| tree | 77eb2d37f3da6bef594ade68160d6949a1f0a896 /justfile | |
| parent | feat: Development commit (diff) | |
| download | sora-testing-0803714c7b6f4f989d788dbf7c535c197b977b75.tar.xz sora-testing-0803714c7b6f4f989d788dbf7c535c197b977b75.zip | |
feat: Development commit
Diffstat (limited to 'justfile')
| -rw-r--r-- | justfile | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -1,6 +1,8 @@ import? 'xcode.just' +import? 'environment.just' target := 'Sora' +identifier := "me.fuwn." + target alias fmt := format alias b := build @@ -12,11 +14,14 @@ fetch: format: just _format {{target}} -build: +build destination="platform=macOS": command -v xcbeautify >/dev/null 2>&1 \ - && xcodebuild -configuration Release -scheme {{target}} build | xcbeautify \ + && xcodebuild -configuration Release -scheme {{target}} -destination '{{destination}}' build | xcbeautify \ || just _build {{target}} +build_ios: + just build "platform=iOS,arch=arm64,name={{device_name}}" + open: just _open {{target}} @@ -26,3 +31,8 @@ install location="/Users/${USER}/Applications" derived_data='/Users/${USER}/Libr generate: mint run xcodegen@synced_folder generate +install_ios location="/Users/${USER}/Applications" derived_data='/Users/${USER}/Library/Developer/Xcode/DerivedData': + xcrun devicectl device install app --device {{device_identifier}} {{derived_data}}/{{target}}-*/Build/Products/Release-iphoneos/{{target}}.app + +run_ios: + xcrun devicectl device process launch --device {{device_identifier}} {{identifier}} |