diff options
| -rw-r--r-- | justfile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -3,6 +3,8 @@ import? 'environment.just' target := 'Sora' identifier := "me.fuwn." + target +derived_data := "/Users/${USER}/Library/Developer/Xcode/DerivedData" +location := "/Users/${USER}/Applications" alias fmt := format alias b := build @@ -25,13 +27,13 @@ build_ios: open: just _open {{target}} -install location="/Users/${USER}/Applications" derived_data='/Users/${USER}/Library/Developer/Xcode/DerivedData': +install derived_data=derived_data location=location: cp -r {{derived_data}}/{{target}}-*/Build/Products/Release/{{target}}.app {{location}} generate: mint run xcodegen@synced_folder generate -install_ios location="/Users/${USER}/Applications" derived_data='/Users/${USER}/Library/Developer/Xcode/DerivedData': +install_ios derived_data=derived_data: xcrun devicectl device install app --device {{device_identifier}} {{derived_data}}/{{target}}-*/Build/Products/Release-iphoneos/{{target}}.app run_ios: |