summaryrefslogtreecommitdiff
path: root/justfile
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-09-04 19:36:03 -0700
committerFuwn <[email protected]>2025-09-04 19:36:03 -0700
commitab5ebe24fbf86de4b3d22572af86bf1d1679ed76 (patch)
tree003e190e95afda3d315cea3bbb9fc3b83853068c /justfile
parentfeat: Development commit (diff)
downloadsora-testing-ab5ebe24fbf86de4b3d22572af86bf1d1679ed76.tar.xz
sora-testing-ab5ebe24fbf86de4b3d22572af86bf1d1679ed76.zip
feat: Development commit
Diffstat (limited to 'justfile')
-rw-r--r--justfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/justfile b/justfile
index 7a2d32e..a03d71c 100644
--- a/justfile
+++ b/justfile
@@ -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: