premake/patches/711.patch
changeset 7925 f090a47eb7f7
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/premake/patches/711.patch	Sun Nov 10 00:38:37 2013 -0500
     1.3 @@ -0,0 +1,30 @@
     1.4 +# HG changeset patch
     1.5 +# User Ben Henning
     1.6 +# Date 1376453463 25200
     1.7 +#      Tue Aug 13 21:11:03 2013 -0700
     1.8 +# Node ID a5f8b4f709722222e02fa481873d76ad25255e09
     1.9 +# Parent  8b24d45e6a5d717876a7b32b64e99043c95328e5
    1.10 +Implemented Xcode recognizing bitmap and wave files as resources, plus properly
    1.11 +set their types recognizable by Xcode itself.
    1.12 +
    1.13 +diff --git a/src/actions/xcode/xcode_common.lua b/src/actions/xcode/xcode_common.lua
    1.14 +--- a/src/actions/xcode/xcode_common.lua
    1.15 ++++ b/src/actions/xcode/xcode_common.lua
    1.16 +@@ -32,6 +32,8 @@
    1.17 + 			[".nib"] = "Resources",
    1.18 + 			[".xib"] = "Resources",
    1.19 + 			[".icns"] = "Resources",
    1.20 ++			[".bmp"] = "Resources",
    1.21 ++			[".wav"] = "Resources",
    1.22 + 		}
    1.23 + 		return categories[path.getextension(node.name)]
    1.24 + 	end
    1.25 +@@ -85,6 +87,8 @@
    1.26 + 			[".strings"]   = "text.plist.strings",
    1.27 + 			[".xib"]       = "file.xib",
    1.28 + 			[".icns"]      = "image.icns",
    1.29 ++			[".bmp"]       = "image.bmp",
    1.30 ++			[".wav"]       = "audio.wav",
    1.31 + 		}
    1.32 + 		return types[path.getextension(node.path)] or "text"
    1.33 + 	end