From b97c16f8116e3ec5fb0051111b29f0f4095621c1 Mon Sep 17 00:00:00 2001 From: John Benediktsson Date: Tue, 9 Apr 2013 16:49:24 -0700 Subject: [PATCH] editors.xcode: adding "open in XCode" support. --- basis/editors/xcode/authors.txt | 1 + basis/editors/xcode/summary.txt | 1 + basis/editors/xcode/xcode.factor | 10 ++++++++++ 3 files changed, 12 insertions(+) create mode 100644 basis/editors/xcode/authors.txt create mode 100644 basis/editors/xcode/summary.txt create mode 100644 basis/editors/xcode/xcode.factor diff --git a/basis/editors/xcode/authors.txt b/basis/editors/xcode/authors.txt new file mode 100644 index 0000000000..e091bb8164 --- /dev/null +++ b/basis/editors/xcode/authors.txt @@ -0,0 +1 @@ +John Benediktsson diff --git a/basis/editors/xcode/summary.txt b/basis/editors/xcode/summary.txt new file mode 100644 index 0000000000..c46617d777 --- /dev/null +++ b/basis/editors/xcode/summary.txt @@ -0,0 +1 @@ +Xcode editor integration diff --git a/basis/editors/xcode/xcode.factor b/basis/editors/xcode/xcode.factor new file mode 100644 index 0000000000..0978c94dbd --- /dev/null +++ b/basis/editors/xcode/xcode.factor @@ -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 ;