public
Description: A Gitk-like application written in RubyCocoa that looks like it belongs on a Mac. See the wiki for downloads and screenshots.
Homepage: http://alternateidea.com
Clone URL: git://github.com/Caged/gitnub.git
Click here to lend your support to: gitnub and make a donation at www.pledgie.com !
gitnub / nub / nub.m
100644 17 lines (12 sloc) 0.45 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#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];
    [task terminate];
    
    [pool drain];
    return 0;
}