public
Fork of Caged/gitnub
Description: A Gitk-like application written in RubyCocoa that looks like it belongs on a Mac. See the wiki for an early screenshot
Homepage: http://alternateidea.com
Clone URL: git://github.com/evilchelu/gitnub.git
Search Repo:
Caged (author)
Thu Mar 06 02:44:42 -0800 2008
commit  ad51a42473ea86018f3ea2ae197ed0fbdd46c7a7
tree    28a176b3201b0c148479658237987621dd6de1ec
parent  78657c76ea4d62e21a8ab24c2476ef8c4096597d
gitnub / nub / nub.m
100644 16 lines (11 sloc) 0.428 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#import <Foundation/Foundation.h>
 
int main (int argc, const char * argv[]) {
    NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
    
    // NSArray *myArgs = [[NSProcessInfo processInfo] arguments];
    // NSLog(@"%@", myArgs);
    
    NSTask *task = [[NSTask alloc] init];
    [task setLaunchPath:@"/Applications/GitNub.app/Contents/MacOS/GitNub"];
    [task launch];
    
    [pool drain];
    return 0;
}