Permalink
Browse files

Replace the nub subproject with a simple shell script

  • Loading branch information...
1 parent 00746b9 commit ad0f47da2734a57d753c1132ded4d7a6d6747461 @kballard kballard committed Mar 13, 2008
Showing with 6 additions and 361 deletions.
  1. +4 −36 GitNub.xcodeproj/project.pbxproj
  2. +2 −0 nub.sh
  3. BIN nub/.DS_Store
  4. +0 −79 nub/nub.1
  5. +0 −17 nub/nub.m
  6. +0 −222 nub/nub.xcodeproj/project.pbxproj
  7. +0 −7 nub/nub_Prefix.pch
@@ -7,6 +7,7 @@
objects = {
/* Begin PBXBuildFile section */
+ 0ABA3B1B0D89E53E004B6667 /* nub.sh in Resources */ = {isa = PBXBuildFile; fileRef = 0ABA3B1A0D89E53E004B6667 /* nub.sh */; };
285BB47C0D8306C60027980C /* mime-types in Resources */ = {isa = PBXBuildFile; fileRef = 285BB4690D8306C60027980C /* mime-types */; };
285BB5320D849C890027980C /* TexturedWindow.rb in Resources */ = {isa = PBXBuildFile; fileRef = 285BB52F0D849C890027980C /* TexturedWindow.rb */; };
285BB53D0D849DD20027980C /* added.png in Resources */ = {isa = PBXBuildFile; fileRef = 285BB5380D849DD20027980C /* added.png */; };
@@ -35,16 +36,6 @@
DA8995E30D890D8A00CF2CDA /* Sparkle.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DA8995E20D890D8A00CF2CDA /* Sparkle.framework */; };
/* End PBXBuildFile section */
-/* Begin PBXContainerItemProxy section */
- 284B714B0D7CDE340075DA6C /* PBXContainerItemProxy */ = {
- isa = PBXContainerItemProxy;
- containerPortal = 284B71470D7CDE340075DA6C /* nub.xcodeproj */;
- proxyType = 2;
- remoteGlobalIDString = 8DD76FA10486AA7600D96B5E;
- remoteInfo = nub;
- };
-/* End PBXContainerItemProxy section */
-
/* Begin PBXCopyFilesBuildPhase section */
DA405D4F0D890F2900841A60 /* CopyFiles */ = {
isa = PBXCopyFilesBuildPhase;
@@ -60,8 +51,8 @@
/* Begin PBXFileReference section */
089C165DFE840E0CC02AAC07 /* English */ = {isa = PBXFileReference; fileEncoding = 10; lastKnownFileType = text.plist.strings; name = English; path = English.lproj/InfoPlist.strings; sourceTree = "<group>"; };
+ 0ABA3B1A0D89E53E004B6667 /* nub.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = nub.sh; sourceTree = "<group>"; };
1058C7A1FEA54F0111CA2CBB /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = /System/Library/Frameworks/Cocoa.framework; sourceTree = "<absolute>"; };
- 284B71470D7CDE340075DA6C /* nub.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = nub.xcodeproj; path = nub/nub.xcodeproj; sourceTree = "<group>"; };
285BB4690D8306C60027980C /* mime-types */ = {isa = PBXFileReference; lastKnownFileType = folder; path = "mime-types"; sourceTree = "<group>"; };
285BB52F0D849C890027980C /* TexturedWindow.rb */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.ruby; path = TexturedWindow.rb; sourceTree = "<group>"; };
285BB5380D849DD20027980C /* added.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = added.png; sourceTree = "<group>"; };
@@ -145,18 +136,10 @@
name = Products;
sourceTree = "<group>";
};
- 284B71480D7CDE340075DA6C /* Products */ = {
- isa = PBXGroup;
- children = (
- 284B714C0D7CDE340075DA6C /* nub */,
- );
- name = Products;
- sourceTree = "<group>";
- };
29B97314FDCFA39411CA2CEA /* GitNub */ = {
isa = PBXGroup;
children = (
- 284B71470D7CDE340075DA6C /* nub.xcodeproj */,
+ 0ABA3B1A0D89E53E004B6667 /* nub.sh */,
080E96DDFE201D6D7F000001 /* Classes */,
29B97315FDCFA39411CA2CEA /* Other Sources */,
29B97317FDCFA39411CA2CEA /* Resources */,
@@ -251,29 +234,13 @@
hasScannedForEncodings = 0;
mainGroup = 29B97314FDCFA39411CA2CEA /* GitNub */;
projectDirPath = "";
- projectReferences = (
- {
- ProductGroup = 284B71480D7CDE340075DA6C /* Products */;
- ProjectRef = 284B71470D7CDE340075DA6C /* nub.xcodeproj */;
- },
- );
projectRoot = "";
targets = (
4DDCA7030ACC9A6100E082CE /* GitNub */,
);
};
/* End PBXProject section */
-/* Begin PBXReferenceProxy section */
- 284B714C0D7CDE340075DA6C /* nub */ = {
- isa = PBXReferenceProxy;
- fileType = "compiled.mach-o.executable";
- path = nub;
- remoteRef = 284B714B0D7CDE340075DA6C /* PBXContainerItemProxy */;
- sourceTree = BUILT_PRODUCTS_DIR;
- };
-/* End PBXReferenceProxy section */
-
/* Begin PBXResourcesBuildPhase section */
4DDCA7050ACC9A6100E082CE /* Resources */ = {
isa = PBXResourcesBuildPhase;
@@ -297,6 +264,7 @@
285BB54A0D849EA60027980C /* InfoWindowController.rb in Resources */,
288CB41A0D8789DD0092B5CC /* MainMenu.xib in Resources */,
288CB41D0D878A1C0092B5CC /* Info.xib in Resources */,
+ 0ABA3B1B0D89E53E004B6667 /* nub.sh in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
View
@@ -0,0 +1,2 @@
+#!/bin/sh
+open -a GitNub .
View
Binary file not shown.
View
@@ -1,79 +0,0 @@
-.\"Modified from man(1) of FreeBSD, the NetBSD mdoc.template, and mdoc.samples.
-.\"See Also:
-.\"man mdoc.samples for a complete listing of options
-.\"man mdoc for the short list of editing options
-.\"/usr/share/misc/mdoc.template
-.Dd 3/3/08 \" DATE
-.Dt nub 1 \" Program name and manual section number
-.Os Darwin
-.Sh NAME \" Section Header - required - don't modify
-.Nm nub,
-.\" The following lines are read in generating the apropos(man -k) database. Use only key
-.\" words here as the database is built based on the words here and in the .ND line.
-.Nm Other_name_for_same_program(),
-.Nm Yet another name for the same program.
-.\" Use .Nm macro to designate other names for the documented program.
-.Nd This line parsed for whatis database.
-.Sh SYNOPSIS \" Section Header - required - don't modify
-.Nm
-.Op Fl abcd \" [-abcd]
-.Op Fl a Ar path \" [-a path]
-.Op Ar file \" [file]
-.Op Ar \" [file ...]
-.Ar arg0 \" Underlined argument - use .Ar anywhere to underline
-arg2 ... \" Arguments
-.Sh DESCRIPTION \" Section Header - required - don't modify
-Use the .Nm macro to refer to your program throughout the man page like such:
-.Nm
-Underlining is accomplished with the .Ar macro like this:
-.Ar underlined text .
-.Pp \" Inserts a space
-A list of items with descriptions:
-.Bl -tag -width -indent \" Begins a tagged list
-.It item a \" Each item preceded by .It macro
-Description of item a
-.It item b
-Description of item b
-.El \" Ends the list
-.Pp
-A list of flags and their descriptions:
-.Bl -tag -width -indent \" Differs from above in tag removed
-.It Fl a \"-a flag as a list item
-Description of -a flag
-.It Fl b
-Description of -b flag
-.El \" Ends the list
-.Pp
-.\" .Sh ENVIRONMENT \" May not be needed
-.\" .Bl -tag -width "ENV_VAR_1" -indent \" ENV_VAR_1 is width of the string ENV_VAR_1
-.\" .It Ev ENV_VAR_1
-.\" Description of ENV_VAR_1
-.\" .It Ev ENV_VAR_2
-.\" Description of ENV_VAR_2
-.\" .El
-.Sh FILES \" File used or created by the topic of the man page
-.Bl -tag -width "/Users/joeuser/Library/really_long_file_name" -compact
-.It Pa /usr/share/file_name
-FILE_1 description
-.It Pa /Users/joeuser/Library/really_long_file_name
-FILE_2 description
-.El \" Ends the list
-.\" .Sh DIAGNOSTICS \" May not be needed
-.\" .Bl -diag
-.\" .It Diagnostic Tag
-.\" Diagnostic informtion here.
-.\" .It Diagnostic Tag
-.\" Diagnostic informtion here.
-.\" .El
-.Sh SEE ALSO
-.\" List links in ascending order by section, alphabetically within a section.
-.\" Please do not reference files that do not exist without filing a bug report
-.Xr a 1 ,
-.Xr b 1 ,
-.Xr c 1 ,
-.Xr a 2 ,
-.Xr b 2 ,
-.Xr a 3 ,
-.Xr b 3
-.\" .Sh BUGS \" Document known, unremedied bugs
-.\" .Sh HISTORY \" Document history if command behaves in a unique manner
View
@@ -1,17 +0,0 @@
-#import <Cocoa/Cocoa.h>
-
-int main (int argc, const char * argv[]) {
- char buf[PATH_MAX];
- NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
-
- // NSArray *myArgs = [[NSProcessInfo processInfo] arguments];
- // NSLog(@"%@", myArgs);
-
- NSString *path=[[NSString alloc] initWithCString:getcwd(buf, sizeof(buf))];
-
- [[NSWorkspace sharedWorkspace] openFile:path withApplication:@"GitNub"];
-
- [path release];
- [pool drain];
- return 0;
-}
Oops, something went wrong.

0 comments on commit ad0f47d

Please sign in to comment.