File tree Expand file tree Collapse file tree 2 files changed +21
-15
lines changed
commands/developer-utils/xcode Expand file tree Collapse file tree 2 files changed +21
-15
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- # @raycast.title Xcode
4
- # @raycast.author Sergey Korobyin
5
- # @raycast.authorURL https://github.com/huangsemao
6
- # @raycast.description Open the last xcode project
7
-
8
3
# Required parameters:
9
4
# @raycast.schemaVersion 1
10
- # @raycast.title Last Xcode project
5
+ # @raycast.title Last Project
11
6
# @raycast.mode silent
7
+ # @raycast.packageName Developer Utilities
8
+ #
9
+ # Optional parameters:
12
10
# @raycast.icon images/xcode.png
13
- # @raycast.packageName Xcode
11
+ # @raycast.needsConfirmation false
12
+ #
13
+ # Documentation:
14
+ # @raycast.description Open the last Xcode project
15
+ # @raycast.author Sergey Korobyin
16
+ # @raycast.authorURL https://github.com/huangsemao
14
17
15
18
mdfind " (kMDItemContentType =='com.apple.xcode.project') || (kMDItemContentType == 'com.apple.dt.document.workspace') || (kMDItemContentType == 'com.apple.dt.playground')" -0 | xargs -0 ls -t | head -1 | cut -f1 -d: | awk ' {print "\x27" $0 "\x27" }' | xargs open
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
3
- # @raycast.title Xcode
4
- # @raycast.author Sergey Korobyin
5
- # @raycast.authorURL https://github.com/huangsemao
6
- # @raycast.description Open recent xcode project
7
-
8
3
# Required parameters:
9
4
# @raycast.schemaVersion 1
10
- # @raycast.title Recent Xcode project
5
+ # @raycast.title Recent Project
11
6
# @raycast.mode silent
12
- # @raycast.icon images/xcode.png
13
- # @raycast.packageName Xcode
7
+ # @raycast.packageName Developer Utilities
14
8
# @raycast.argument1 { "type": "text", "placeholder": "Project name", "percentEncoded": true}
9
+ #
10
+ # Optional parameters:
11
+ # @raycast.icon images/xcode.png
12
+ # @raycast.needsConfirmation false
13
+ #
14
+ # Documentation:
15
+ # @raycast.description Open recent Xcode project
16
+ # @raycast.author Sergey Korobyin
17
+ # @raycast.authorURL https://github.com/huangsemao
15
18
16
19
mdfind " (kMDItemFSName == '*$1 *'c) && ((kMDItemContentType =='com.apple.xcode.project') || (kMDItemContentType == 'com.apple.dt.document.workspace') || (kMDItemContentType == 'com.apple.dt.playground'))" -0 | xargs -0 ls -t | head -1 | cut -f1 -d: | awk ' {print "\x27" $0 "\x27" }' | xargs open
You can’t perform that action at this time.
0 commit comments