aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
+