editors.xcode: adding "open in XCode" support.

John Benediktsson 2013-04-09 16:49:24 -07:00
parent 6348d11f28
commit b2a72ef158
3 changed files with 12 additions and 0 deletions

View File

@ -0,0 +1 @@
John Benediktsson

View File

@ -0,0 +1 @@
Xcode editor integration

View File

@ -0,0 +1,10 @@
USING: definitions io.launcher kernel math math.parser parser
namespaces prettyprint editors make ;
IN: editors.xcode
SINGLETON: xcode
xcode editor-class set-global
M: xcode editor-command ( file line -- command )
drop
[ "open" , "-a" , "XCode" , , ] { } make ;