diff options
| author | Fuwn <[email protected]> | 2025-03-02 10:50:51 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-03-02 10:50:51 +0000 |
| commit | 7d809f6162d150ff472c0cc35f9f3a455e496193 (patch) | |
| tree | e2916f31014792b8c00d095b1b727fab7c629cc8 | |
| parent | docs: Add license file (diff) | |
| download | justfiles-7d809f6162d150ff472c0cc35f9f3a455e496193.tar.xz justfiles-7d809f6162d150ff472c0cc35f9f3a455e496193.zip | |
feat: Add Xcode Justfile
| -rw-r--r-- | xcode.just | 18 |
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 + |