aboutsummaryrefslogtreecommitdiff
path: root/xcode.just
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-03-02 10:50:51 +0000
committerFuwn <[email protected]>2025-03-02 10:50:51 +0000
commit7d809f6162d150ff472c0cc35f9f3a455e496193 (patch)
treee2916f31014792b8c00d095b1b727fab7c629cc8 /xcode.just
parentdocs: Add license file (diff)
downloadjustfiles-7d809f6162d150ff472c0cc35f9f3a455e496193.tar.xz
justfiles-7d809f6162d150ff472c0cc35f9f3a455e496193.zip
feat: Add Xcode Justfile
Diffstat (limited to 'xcode.just')
-rw-r--r--xcode.just18
1 files changed, 18 insertions, 0 deletions
diff --git a/xcode.just b/xcode.just
new file mode 100644
index 0000000..4fe54d6
--- /dev/null
+++ b/xcode.just
@@ -0,0 +1,18 @@
+_format target:
+ swift format --in-place --recursive {{target}}
+
+lint:
+ swiftlint lint --quiet
+
+scan:
+ mint run peripheryapp/periphery scan
+
+clean:
+ xcodebuild clean
+
+_build target:
+ xcodebuild -configuration Release -scheme {{target}} build
+
+_open target derived_data='/Users/${USER}/Library/Developer/Xcode/DerivedData':
+ open {{derived_data}}/{{target}}-*/Build/Products/Release/{{target}}.app
+