File tree 2 files changed +8
-1
lines changed
2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ var path = require('path'),
5
5
BUNDLE_EXTENSION = / [ . ] b u n d l e $ / , BUNDLE = '"wrapper.plug-in"' ,
6
6
XIB_EXTENSION = / [ . ] x i b $ / , XIB_FILE = 'file.xib' ,
7
7
DYLIB_EXTENSION = / [ . ] d y l i b $ / , DYLIB = '"compiled.mach-o.dylib"' ,
8
- FRAMEWORK_EXTENSION = / [ . ] f r a m e w o r k / , FRAMEWORK = 'wrapper.framework' ,
8
+ FRAMEWORK_EXTENSION = / [ . ] f r a m e w o r k $ / , FRAMEWORK = 'wrapper.framework' ,
9
9
ARCHIVE_EXTENSION = / [ . ] a $ / , ARCHIVE = 'archive.ar' ,
10
10
PNG_EXTENSION = / [ . ] p n g / , PNG_IMAGE = "image.png" ,
11
11
DEFAULT_SOURCE_TREE = '"<group>"' ,
Original file line number Diff line number Diff line change @@ -43,6 +43,13 @@ exports['lastType'] = {
43
43
test . done ( ) ;
44
44
} ,
45
45
46
+ 'should detect that a .framework/.a path means archive.ar' : function ( test ) {
47
+ var sourceFile = new pbxFile ( 'MessageUI.framework/libGoogleAnalytics.a' ) ;
48
+
49
+ test . equal ( 'archive.ar' , sourceFile . lastType ) ;
50
+ test . done ( ) ;
51
+ } ,
52
+
46
53
'should detect that a .a path means archive.ar' : function ( test ) {
47
54
var sourceFile = new pbxFile ( 'libGoogleAnalytics.a' ) ;
48
55
You can’t perform that action at this time.
0 commit comments