Sha256: b1315a1dfd66646d11b6f8003a0065e9bdbfc1ceeec85a1861a0d73a225c92a7
Contents?: true
Size: 1.33 KB
Versions: 1
Compression:
Stored size: 1.33 KB
Contents
#!/usr/bin/env python # Copyright (c) 2012 Google Inc. All rights reserved. # Use of this source code is governed by a BSD-style license that can be # found in the LICENSE file. """ Verifies that ios app bundles are built correctly. """ import TestGyp import sys if sys.platform == 'darwin': test = TestGyp.TestGyp(formats=['xcode', 'ninja']) test.run_gyp('test.gyp', chdir='app-bundle') test.build('test.gyp', test.ALL, chdir='app-bundle') # Test that the extension is .bundle test.built_file_must_exist('Test App Gyp.app/Test App Gyp', chdir='app-bundle') # Info.plist info_plist = test.built_file_path('Test App Gyp.app/Info.plist', chdir='app-bundle') # Resources test.built_file_must_exist( 'Test App Gyp.app/English.lproj/InfoPlist.strings', chdir='app-bundle') test.built_file_must_exist( 'Test App Gyp.app/English.lproj/MainMenu.nib', chdir='app-bundle') test.built_file_must_exist( 'Test App Gyp.app/English.lproj/Main_iPhone.storyboardc', chdir='app-bundle') # Packaging test.built_file_must_exist('Test App Gyp.app/PkgInfo', chdir='app-bundle') test.built_file_must_match('Test App Gyp.app/PkgInfo', 'APPLause', chdir='app-bundle') test.pass_test()
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tree-sitter-0.1.0 | ext/tree-sitter/tree-sitter/externals/gyp/test/ios/gyptest-app-ios.py |