Navigation Menu

Skip to content

Commit

Permalink
Rename version file for consistency with other filenames in project
Browse files Browse the repository at this point in the history
Signed-off-by: Wincent Colaiuta <win@wincent.com>
  • Loading branch information
wincent committed Nov 2, 2010
1 parent 17270a1 commit e376117
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion Rakefile
Expand Up @@ -2,7 +2,7 @@ require 'pathname'

def release_version
return @release_version if @release_version
version_file = Pathname.new('wincent-icon-util_Version.h').read
version_file = Pathname.new('wincent-icon-util-version.h').read
version_line = version_file.lines.find do |line|
line =~ /\A#define\s+WO_INFO_PLIST_VERSION\s+(.+)\s*\z/
end or raise "could not find version number"
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion wincent-icon-util.m
Expand Up @@ -29,7 +29,7 @@
#pragma mark -
#pragma mark Embedded information for what(1)

#import "wincent-icon-util_Version.h"
#import "wincent-icon-util-version.h"

WO_SET_RCSID_STRING("Wincent Icon Utility", productname);
WO_SET_RCSID_STRING("Version: " WO_MARKETING_VERSION, version);
Expand Down
8 changes: 4 additions & 4 deletions wincent-icon-util.xcodeproj/project.pbxproj
Expand Up @@ -62,7 +62,7 @@
8DD76FA10486AA7600D96B5E /* wincent-icon-util */ = {isa = PBXFileReference; explicitFileType = "compiled.mach-o.executable"; includeInIndex = 0; path = "wincent-icon-util"; sourceTree = BUILT_PRODUCTS_DIR; };
BC06224C127FFCAD007BDE49 /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
BC062258127FFE60007BDE49 /* sign.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = sign.sh; sourceTree = "<group>"; };
BC0625F312806867007BDE49 /* wincent-icon-util_Version.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "wincent-icon-util_Version.h"; sourceTree = "<group>"; };
BC0625F312806867007BDE49 /* wincent-icon-util-version.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "wincent-icon-util-version.h"; sourceTree = "<group>"; };
BC47976B1047E7C800092001 /* buildtools */ = {isa = PBXFileReference; lastKnownFileType = folder; path = buildtools; sourceTree = "<group>"; };
BC47989B1047E8D000092001 /* Package.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; name = Package.sh; path = buildtools/Package.sh; sourceTree = "<group>"; };
BC4798A21047E92900092001 /* LICENSE.rtf */ = {isa = PBXFileReference; lastKnownFileType = text.rtf; path = LICENSE.rtf; sourceTree = "<group>"; };
Expand Down Expand Up @@ -115,7 +115,7 @@
08FB7795FE84155DC02AAC07 /* Source */ = {
isa = PBXGroup;
children = (
BC0625F312806867007BDE49 /* wincent-icon-util_Version.h */,
BC0625F312806867007BDE49 /* wincent-icon-util-version.h */,
08FB7796FE84155DC02AAC07 /* wincent-icon-util.m */,
);
name = Source;
Expand Down Expand Up @@ -329,7 +329,7 @@
baseConfigurationReference = BC935B1E0C593E110017530E /* foundation-tool-target.xcconfig */;
buildSettings = {
INFOPLIST_FILE = Info.plist;
INFOPLIST_PREFIX_HEADER = "wincent-icon-util_Version.h";
INFOPLIST_PREFIX_HEADER = "wincent-icon-util-version.h";
OTHER_LDFLAGS = (
"-sectcreate",
__TEXT,
Expand All @@ -345,7 +345,7 @@
baseConfigurationReference = BC935B1E0C593E110017530E /* foundation-tool-target.xcconfig */;
buildSettings = {
INFOPLIST_FILE = Info.plist;
INFOPLIST_PREFIX_HEADER = "wincent-icon-util_Version.h";
INFOPLIST_PREFIX_HEADER = "wincent-icon-util-version.h";
OTHER_LDFLAGS = (
"-sectcreate",
__TEXT,
Expand Down

0 comments on commit e376117

Please sign in to comment.