iOS: Treat the initial Info.plist string as a mustache template.

Use the project name to initialize the bundle name and identifier
This commit is contained in:
Chinmay Garde
2016-02-17 10:58:34 -08:00
parent 5009f44a62
commit df946dd875
4 changed files with 57 additions and 31 deletions

View File

@@ -14,8 +14,8 @@ import 'package:mockito/mockito.dart';
class MockApplicationPackageStore extends ApplicationPackageStore {
MockApplicationPackageStore() : super(
android: new AndroidApk(localPath: '/mock/path/to/android/SkyShell.apk'),
iOS: new IOSApp(localPath: '/mock/path/to/iOS/SkyShell.app'),
iOSSimulator: new IOSApp(localPath: '/mock/path/to/iOSSimulator/SkyShell.app'));
iOS: new IOSApp(iosProjectDir: '/mock/path/to/iOS/SkyShell.app'),
iOSSimulator: new IOSApp(iosProjectDir: '/mock/path/to/iOSSimulator/SkyShell.app'));
}
class MockCompiler extends Mock implements Compiler {