yk_command 0.6.2 → 0.6.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.DS_Store +0 -0
- data/.idea/inspectionProfiles/Project_Default.xml +6 -0
- data/.idea/sonarlint/issuestore/index.pb +39 -33
- data/.idea/vcs.xml +2 -0
- data/.idea/yk_command.iml +58 -65
- data/.ruby-version +1 -1
- data/Gemfile +6 -3
- data/Gemfile.lock +11 -26
- data/debugProject/.DS_Store +0 -0
- data/lib/.DS_Store +0 -0
- data/lib/yk_command/.DS_Store +0 -0
- data/lib/yk_command/commands.rb +38 -20
- data/lib/yk_command/config/yk_config.rb +6 -7
- data/lib/yk_command/module/.DS_Store +0 -0
- data/lib/yk_command/module/module_handler.rb +48 -69
- data/lib/yk_command/module/template/.DS_Store +0 -0
- data/lib/yk_command/module/template/objc/.DS_Store +0 -0
- data/{.idea/sonarlint/issuestore/2/2/2264693887a1513e6c4ed16a6231e00d3045ec4e → lib/yk_command/module/template/objc/BusinessHeader.h} +0 -0
- data/lib/yk_command/module/template/objc/CategoryHeader.h +0 -2
- data/lib/yk_command/module/template/objc/Helper.h +16 -0
- data/lib/yk_command/module/template/objc/Helper.m +41 -0
- data/lib/yk_command/module/template/objc/RouterRegister.m +8 -15
- data/lib/yk_command/module/template/objc/ServiceRegister.m +4 -8
- data/lib/yk_command/module/template/swift/.DS_Store +0 -0
- data/lib/yk_command/module/template/swift/PrefixHeader_swift.swift +10 -0
- data/lib/yk_command/module/template/swift/RouterRegisterSwift.swift +23 -0
- data/lib/yk_command/module/template/swift/ServiceRegisterSwift.swift +20 -0
- data/lib/yk_command/module/template/swift/Tool.swift +53 -0
- data/lib/yk_command/module/yk_module.rb +2 -2
- data/lib/yk_command/project/.DS_Store +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/.gitignore +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/.travis.yml +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/CODE_OF_CONDUCT.md +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/LICENSE +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/NAME-osx.podspec +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/NAME.podspec +15 -15
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/POD_LICENSE +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/POD_README.md +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/Pod/Assets/.gitkeep +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/Pod/Classes/.gitkeep +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/README.md +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/configure +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/ios/Example/PROJECT/Base.lproj/LaunchScreen.storyboard +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/ios/Example/PROJECT/Base.lproj/Main.storyboard +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/ios/Example/PROJECT/CPDAppDelegate.h +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/ios/Example/PROJECT/CPDAppDelegate.m +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/ios/Example/PROJECT/CPDViewController.h +0 -0
- data/lib/yk_command/project/full_component_demo_template/templates/ios/Example/PROJECT/CPDViewController.m +47 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/ios/Example/PROJECT/Images.xcassets/AppIcon.appiconset/Contents.json +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/ios/Example/PROJECT/PROJECT-Info.plist +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/ios/Example/PROJECT/PROJECT-Prefix.pch +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/ios/Example/PROJECT/en.lproj/InfoPlist.strings +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/ios/Example/PROJECT/main.m +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/ios/Example/PROJECT.xcodeproj/project.pbxproj +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/ios/Example/PROJECT.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -0
- data/lib/yk_command/project/full_component_demo_template/templates/ios/Example/PROJECT.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/ios/Example/PROJECT.xcodeproj/xcshareddata/xcschemes/PROJECT.xcscheme +0 -0
- data/lib/yk_command/project/full_component_demo_template/templates/ios/Example/Podfile +34 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/ios/Example/Tests/Tests-Info.plist +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/ios/Example/Tests/Tests-Prefix.pch +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/ios/Example/Tests/Tests.m +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/ios/Example/Tests/en.lproj/InfoPlist.strings +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/macos-swift/Example/PROJECT/AppDelegate.swift +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/macos-swift/Example/PROJECT/Assets.xcassets/AppIcon.appiconset/Contents.json +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/macos-swift/Example/PROJECT/Base.lproj/Main.storyboard +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/macos-swift/Example/PROJECT/Info.plist +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/macos-swift/Example/PROJECT/PROJECT.entitlements +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/macos-swift/Example/PROJECT/ViewController.swift +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/macos-swift/Example/PROJECT.xcodeproj/project.pbxproj +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/macos-swift/Example/PROJECT.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/macos-swift/Example/PROJECT.xcodeproj/xcshareddata/xcschemes/PROJECT.xcscheme +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/macos-swift/Example/Podfile +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/macos-swift/Example/Tests/Info.plist +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/macos-swift/Example/Tests/Tests.swift +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/swift/Example/PROJECT/AppDelegate.swift +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/swift/Example/PROJECT/Base.lproj/LaunchScreen.xib +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/swift/Example/PROJECT/Base.lproj/Main.storyboard +0 -0
- data/lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT/Example-Bridging-Header.h +4 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/swift/Example/PROJECT/Images.xcassets/AppIcon.appiconset/Contents.json +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/swift/Example/PROJECT/Info.plist +0 -0
- data/lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT/STTestAppDelegate.swift +16 -0
- data/lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT/Tests-Bridging-Header.h +4 -0
- data/lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT/ViewController.swift +51 -0
- data/lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT/YKEmptyOcFile.m +9 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/swift/Example/PROJECT.xcodeproj/project.pbxproj +41 -20
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/swift/Example/PROJECT.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -0
- data/lib/yk_command/project/full_component_demo_template/templates/swift/Example/PROJECT.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/swift/Example/PROJECT.xcodeproj/xcshareddata/xcschemes/PROJECT.xcscheme +0 -0
- data/lib/yk_command/project/full_component_demo_template/templates/swift/Example/Podfile +35 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/swift/Example/Tests/Info.plist +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → full_component_demo_template}/templates/swift/Example/Tests/Tests.swift +0 -0
- data/lib/yk_command/project/setup/ConfigureMacOSSwift.rb +1 -1
- data/lib/yk_command/project/setup/ConfigureiOS.rb +1 -2
- data/lib/yk_command/project/setup/TemplateConfigurator.rb +4 -4
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/.gitignore +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/.travis.yml +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/CODE_OF_CONDUCT.md +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/LICENSE +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/NAME-osx.podspec +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/NAME.podspec +1 -1
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/POD_LICENSE +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/POD_README.md +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/Pod/Assets/.gitkeep +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/Pod/Classes/.gitkeep +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/README.md +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/configure +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/PROJECT/Base.lproj/LaunchScreen.storyboard +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/PROJECT/Base.lproj/Main.storyboard +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/PROJECT/CPDAppDelegate.h +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/PROJECT/CPDAppDelegate.m +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/PROJECT/CPDViewController.h +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/PROJECT/CPDViewController.m +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/PROJECT/Images.xcassets/AppIcon.appiconset/Contents.json +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/PROJECT/PROJECT-Info.plist +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/PROJECT/PROJECT-Prefix.pch +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/PROJECT/en.lproj/InfoPlist.strings +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/PROJECT/main.m +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/PROJECT.xcodeproj/project.pbxproj +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/PROJECT.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -0
- data/lib/yk_command/project/simple_component_demo_template/templates/ios/Example/PROJECT.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/PROJECT.xcodeproj/xcshareddata/xcschemes/PROJECT.xcscheme +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → simple_component_demo_template}/templates/ios/Example/Podfile +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/Tests/Tests-Info.plist +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/Tests/Tests-Prefix.pch +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/Tests/Tests.m +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/ios/Example/Tests/en.lproj/InfoPlist.strings +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/macos-swift/Example/PROJECT/AppDelegate.swift +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/macos-swift/Example/PROJECT/Assets.xcassets/AppIcon.appiconset/Contents.json +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/macos-swift/Example/PROJECT/Base.lproj/Main.storyboard +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/macos-swift/Example/PROJECT/Info.plist +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/macos-swift/Example/PROJECT/PROJECT.entitlements +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/macos-swift/Example/PROJECT/ViewController.swift +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/macos-swift/Example/PROJECT.xcodeproj/project.pbxproj +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/macos-swift/Example/PROJECT.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/macos-swift/Example/PROJECT.xcodeproj/xcshareddata/xcschemes/PROJECT.xcscheme +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/macos-swift/Example/Podfile +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/macos-swift/Example/Tests/Info.plist +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/macos-swift/Example/Tests/Tests.swift +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/swift/Example/PROJECT/AppDelegate.swift +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/swift/Example/PROJECT/Base.lproj/LaunchScreen.xib +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/swift/Example/PROJECT/Base.lproj/Main.storyboard +19 -2
- data/lib/yk_command/project/simple_component_demo_template/templates/swift/Example/PROJECT/EmptyOcFile.m +9 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/swift/Example/PROJECT/Images.xcassets/AppIcon.appiconset/Contents.json +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/swift/Example/PROJECT/Info.plist +0 -0
- data/lib/yk_command/project/simple_component_demo_template/templates/swift/Example/PROJECT/PROJECT_Example-Bridging-Header.h +4 -0
- data/lib/yk_command/project/simple_component_demo_template/templates/swift/Example/PROJECT/PROJECT_Tests-Bridging-Header.h +4 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/swift/Example/PROJECT/ViewController.swift +3 -1
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/swift/Example/PROJECT.xcodeproj/project.pbxproj +41 -20
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/swift/Example/PROJECT.xcodeproj/project.xcworkspace/contents.xcworkspacedata +0 -0
- data/lib/yk_command/project/simple_component_demo_template/templates/swift/Example/PROJECT.xcodeproj/project.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +8 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/swift/Example/PROJECT.xcodeproj/xcshareddata/xcschemes/PROJECT.xcscheme +0 -0
- data/lib/yk_command/project/{YKProjectTemplate → simple_component_demo_template}/templates/swift/Example/Podfile +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/swift/Example/Tests/Info.plist +0 -0
- data/lib/yk_command/project/{simple_project_template → simple_component_demo_template}/templates/swift/Example/Tests/Tests.swift +0 -0
- data/lib/yk_command/project/yk_project.rb +7 -2
- data/lib/yk_command/version.rb +1 -1
- metadata +141 -129
- data/.idea/sonarlint/issuestore/2/4/2461a61a84d866812e64ff95d40bd7836fb136ea +0 -0
- data/.idea/sonarlint/issuestore/2/e/2e113f2d3dc9bee6a98073d85966fbd9773c044f +0 -0
- data/.idea/sonarlint/issuestore/7/1/71fc201a1096db97453882ad1da5120a71f77bb5 +0 -0
- data/.idea/sonarlint/issuestore/7/e/7ed8a0c3d2507e911337de44fdef07f89e35091a +0 -0
- data/.idea/sonarlint/issuestore/9/5/95a45210972238034e9fed522811176fe20117d3 +0 -0
- data/.idea/sonarlint/issuestore/9/7/97c2c9c7adeb7fa2e6ffbf07cba2418868ac9739 +0 -0
- data/.idea/sonarlint/issuestore/a/d/ad7bffefc6248a8f673a10e668a82bdbbe38a3e3 +0 -0
- data/.idea/sonarlint/issuestore/e/5/e5580d669a0c327c5b0897ba7dd8465a3d4db45a +0 -0
- data/lib/yk_command/module/template/objc/RouterDefine.h +0 -14
- data/lib/yk_command/module/template/objc/ServiceProtocol.h +0 -15
- data/lib/yk_command/module/template/objc/demo/DemoViewController.h +0 -17
- data/lib/yk_command/module/template/objc/demo/DemoViewController.m +0 -28
- data/lib/yk_command/module/template/objc/demo/DemoViewModel.h +0 -14
- data/lib/yk_command/module/template/objc/demo/DemoViewModel.m +0 -19
- data/lib/yk_command/module/template/swift/RouterDefine.swift +0 -28
- data/lib/yk_command/project/YKProjectTemplate/templates/ios/Example/PROJECT/CPDViewController.m +0 -60
- data/lib/yk_command/project/YKProjectTemplate/templates/swift/Example/PROJECT/ViewController.swift +0 -37
- data/lib/yk_command/project/simple_project_template/templates/ios/Example/Podfile +0 -19
- data/lib/yk_command/project/simple_project_template/templates/swift/Example/Podfile +0 -20
|
@@ -13,6 +13,8 @@
|
|
|
13
13
|
607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; };
|
|
14
14
|
607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDE1AFB9204008FA782 /* LaunchScreen.xib */; };
|
|
15
15
|
607FACEC1AFB9204008FA782 /* Tests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACEB1AFB9204008FA782 /* Tests.swift */; };
|
|
16
|
+
DCDBF739291BA2DC001CC26D /* EmptyOcFile.m in Sources */ = {isa = PBXBuildFile; fileRef = DCDBF738291BA2DC001CC26D /* EmptyOcFile.m */; };
|
|
17
|
+
DCDBF73A291BA2DC001CC26D /* EmptyOcFile.m in Sources */ = {isa = PBXBuildFile; fileRef = DCDBF738291BA2DC001CC26D /* EmptyOcFile.m */; };
|
|
16
18
|
/* End PBXBuildFile section */
|
|
17
19
|
|
|
18
20
|
/* Begin PBXContainerItemProxy section */
|
|
@@ -21,7 +23,7 @@
|
|
|
21
23
|
containerPortal = 607FACC81AFB9204008FA782 /* Project object */;
|
|
22
24
|
proxyType = 1;
|
|
23
25
|
remoteGlobalIDString = 607FACCF1AFB9204008FA782;
|
|
24
|
-
remoteInfo =
|
|
26
|
+
remoteInfo = PROJECT;
|
|
25
27
|
};
|
|
26
28
|
/* End PBXContainerItemProxy section */
|
|
27
29
|
|
|
@@ -36,6 +38,9 @@
|
|
|
36
38
|
607FACE51AFB9204008FA782 /* PROJECT_Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = PROJECT_Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
37
39
|
607FACEA1AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
|
|
38
40
|
607FACEB1AFB9204008FA782 /* Tests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Tests.swift; sourceTree = "<group>"; };
|
|
41
|
+
DCDBF736291BA2DC001CC26D /* PROJECT_Example-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "PROJECT_Example-Bridging-Header.h"; sourceTree = "<group>"; };
|
|
42
|
+
DCDBF737291BA2DC001CC26D /* PROJECT_Tests-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "PROJECT_Tests-Bridging-Header.h"; sourceTree = "<group>"; };
|
|
43
|
+
DCDBF738291BA2DC001CC26D /* EmptyOcFile.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = EmptyOcFile.m; sourceTree = "<group>"; };
|
|
39
44
|
/* End PBXFileReference section */
|
|
40
45
|
|
|
41
46
|
/* Begin PBXFrameworksBuildPhase section */
|
|
@@ -80,13 +85,16 @@
|
|
|
80
85
|
children = (
|
|
81
86
|
607FACD51AFB9204008FA782 /* AppDelegate.swift */,
|
|
82
87
|
607FACD71AFB9204008FA782 /* ViewController.swift */,
|
|
88
|
+
DCDBF738291BA2DC001CC26D /* EmptyOcFile.m */,
|
|
83
89
|
607FACD91AFB9204008FA782 /* Main.storyboard */,
|
|
84
90
|
607FACDC1AFB9204008FA782 /* Images.xcassets */,
|
|
85
91
|
607FACDE1AFB9204008FA782 /* LaunchScreen.xib */,
|
|
86
92
|
607FACD31AFB9204008FA782 /* Supporting Files */,
|
|
93
|
+
DCDBF736291BA2DC001CC26D /* PROJECT_Example-Bridging-Header.h */,
|
|
94
|
+
DCDBF737291BA2DC001CC26D /* PROJECT_Tests-Bridging-Header.h */,
|
|
87
95
|
);
|
|
88
96
|
name = "Example for PROJECT";
|
|
89
|
-
path =
|
|
97
|
+
path = PROJECT;
|
|
90
98
|
sourceTree = "<group>";
|
|
91
99
|
};
|
|
92
100
|
607FACD31AFB9204008FA782 /* Supporting Files */ = {
|
|
@@ -136,8 +144,8 @@
|
|
|
136
144
|
);
|
|
137
145
|
dependencies = (
|
|
138
146
|
);
|
|
139
|
-
name =
|
|
140
|
-
productName =
|
|
147
|
+
name = PROJECT_Example;
|
|
148
|
+
productName = PROJECT;
|
|
141
149
|
productReference = 607FACD01AFB9204008FA782 /* PROJECT_Example.app */;
|
|
142
150
|
productType = "com.apple.product-type.application";
|
|
143
151
|
};
|
|
@@ -154,7 +162,7 @@
|
|
|
154
162
|
dependencies = (
|
|
155
163
|
607FACE71AFB9204008FA782 /* PBXTargetDependency */,
|
|
156
164
|
);
|
|
157
|
-
name =
|
|
165
|
+
name = PROJECT_Tests;
|
|
158
166
|
productName = Tests;
|
|
159
167
|
productReference = 607FACE51AFB9204008FA782 /* PROJECT_Tests.xctest */;
|
|
160
168
|
productType = "com.apple.product-type.bundle.unit-test";
|
|
@@ -171,11 +179,11 @@
|
|
|
171
179
|
TargetAttributes = {
|
|
172
180
|
607FACCF1AFB9204008FA782 = {
|
|
173
181
|
CreatedOnToolsVersion = 6.3.1;
|
|
174
|
-
LastSwiftMigration =
|
|
182
|
+
LastSwiftMigration = 1400;
|
|
175
183
|
};
|
|
176
184
|
607FACE41AFB9204008FA782 = {
|
|
177
185
|
CreatedOnToolsVersion = 6.3.1;
|
|
178
|
-
LastSwiftMigration =
|
|
186
|
+
LastSwiftMigration = 1400;
|
|
179
187
|
TestTargetID = 607FACCF1AFB9204008FA782;
|
|
180
188
|
};
|
|
181
189
|
};
|
|
@@ -185,6 +193,7 @@
|
|
|
185
193
|
developmentRegion = English;
|
|
186
194
|
hasScannedForEncodings = 0;
|
|
187
195
|
knownRegions = (
|
|
196
|
+
English,
|
|
188
197
|
en,
|
|
189
198
|
Base,
|
|
190
199
|
);
|
|
@@ -225,6 +234,7 @@
|
|
|
225
234
|
buildActionMask = 2147483647;
|
|
226
235
|
files = (
|
|
227
236
|
607FACD81AFB9204008FA782 /* ViewController.swift in Sources */,
|
|
237
|
+
DCDBF739291BA2DC001CC26D /* EmptyOcFile.m in Sources */,
|
|
228
238
|
607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */,
|
|
229
239
|
);
|
|
230
240
|
runOnlyForDeploymentPostprocessing = 0;
|
|
@@ -234,6 +244,7 @@
|
|
|
234
244
|
buildActionMask = 2147483647;
|
|
235
245
|
files = (
|
|
236
246
|
607FACEC1AFB9204008FA782 /* Tests.swift in Sources */,
|
|
247
|
+
DCDBF73A291BA2DC001CC26D /* EmptyOcFile.m in Sources */,
|
|
237
248
|
);
|
|
238
249
|
runOnlyForDeploymentPostprocessing = 0;
|
|
239
250
|
};
|
|
@@ -287,8 +298,8 @@
|
|
|
287
298
|
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
|
288
299
|
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
|
289
300
|
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
290
|
-
|
|
291
|
-
|
|
301
|
+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
|
302
|
+
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
|
292
303
|
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
|
293
304
|
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
294
305
|
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
@@ -337,11 +348,11 @@
|
|
|
337
348
|
CLANG_WARN_ENUM_CONVERSION = YES;
|
|
338
349
|
CLANG_WARN_INFINITE_RECURSION = YES;
|
|
339
350
|
CLANG_WARN_INT_CONVERSION = YES;
|
|
340
|
-
|
|
341
|
-
|
|
351
|
+
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
|
352
|
+
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
|
342
353
|
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
|
343
|
-
|
|
344
|
-
|
|
354
|
+
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
|
355
|
+
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
|
345
356
|
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
|
346
357
|
CLANG_WARN_UNREACHABLE_CODE = YES;
|
|
347
358
|
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
@@ -370,13 +381,16 @@
|
|
|
370
381
|
isa = XCBuildConfiguration;
|
|
371
382
|
buildSettings = {
|
|
372
383
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
|
373
|
-
|
|
384
|
+
CLANG_ENABLE_MODULES = YES;
|
|
385
|
+
INFOPLIST_FILE = PROJECT/Info.plist;
|
|
374
386
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
|
375
387
|
MODULE_NAME = ExampleApp;
|
|
376
388
|
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)";
|
|
377
389
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
378
|
-
|
|
379
|
-
|
|
390
|
+
SWIFT_OBJC_BRIDGING_HEADER = "PROJECT/PROJECT_Example-Bridging-Header.h";
|
|
391
|
+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
|
392
|
+
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
|
|
393
|
+
SWIFT_VERSION = 4.0;
|
|
380
394
|
};
|
|
381
395
|
name = Debug;
|
|
382
396
|
};
|
|
@@ -384,19 +398,22 @@
|
|
|
384
398
|
isa = XCBuildConfiguration;
|
|
385
399
|
buildSettings = {
|
|
386
400
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
|
387
|
-
|
|
401
|
+
CLANG_ENABLE_MODULES = YES;
|
|
402
|
+
INFOPLIST_FILE = PROJECT/Info.plist;
|
|
388
403
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
|
|
389
404
|
MODULE_NAME = ExampleApp;
|
|
390
405
|
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.$(PRODUCT_NAME:rfc1034identifier)";
|
|
391
406
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
392
|
-
|
|
393
|
-
|
|
407
|
+
SWIFT_OBJC_BRIDGING_HEADER = "PROJECT/PROJECT_Example-Bridging-Header.h";
|
|
408
|
+
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
|
|
409
|
+
SWIFT_VERSION = 4.0;
|
|
394
410
|
};
|
|
395
411
|
name = Release;
|
|
396
412
|
};
|
|
397
413
|
607FACF31AFB9204008FA782 /* Debug */ = {
|
|
398
414
|
isa = XCBuildConfiguration;
|
|
399
415
|
buildSettings = {
|
|
416
|
+
CLANG_ENABLE_MODULES = YES;
|
|
400
417
|
FRAMEWORK_SEARCH_PATHS = (
|
|
401
418
|
"$(PLATFORM_DIR)/Developer/Library/Frameworks",
|
|
402
419
|
"$(inherited)",
|
|
@@ -409,6 +426,8 @@
|
|
|
409
426
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
|
|
410
427
|
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)";
|
|
411
428
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
429
|
+
SWIFT_OBJC_BRIDGING_HEADER = "PROJECT/PROJECT_Tests-Bridging-Header.h";
|
|
430
|
+
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
|
412
431
|
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
|
|
413
432
|
SWIFT_VERSION = 4.0;
|
|
414
433
|
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PROJECT_Example.app/PROJECT_Example";
|
|
@@ -418,6 +437,7 @@
|
|
|
418
437
|
607FACF41AFB9204008FA782 /* Release */ = {
|
|
419
438
|
isa = XCBuildConfiguration;
|
|
420
439
|
buildSettings = {
|
|
440
|
+
CLANG_ENABLE_MODULES = YES;
|
|
421
441
|
FRAMEWORK_SEARCH_PATHS = (
|
|
422
442
|
"$(PLATFORM_DIR)/Developer/Library/Frameworks",
|
|
423
443
|
"$(inherited)",
|
|
@@ -426,8 +446,9 @@
|
|
|
426
446
|
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
|
|
427
447
|
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)";
|
|
428
448
|
PRODUCT_NAME = "$(TARGET_NAME)";
|
|
429
|
-
|
|
449
|
+
SWIFT_OBJC_BRIDGING_HEADER = "PROJECT/PROJECT_Tests-Bridging-Header.h";
|
|
430
450
|
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
|
|
451
|
+
SWIFT_VERSION = 4.0;
|
|
431
452
|
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PROJECT_Example.app/PROJECT_Example";
|
|
432
453
|
};
|
|
433
454
|
name = Release;
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -22,15 +22,20 @@ module YkCommand
|
|
|
22
22
|
|
|
23
23
|
end
|
|
24
24
|
|
|
25
|
+
def create_host(app_name, framework, prefix, author, at_path)
|
|
26
|
+
prepare_project(app_name,framework, prefix, author, at_path)
|
|
27
|
+
end
|
|
28
|
+
|
|
29
|
+
|
|
25
30
|
def prepare_project(pod_name, framework, prefix, author, at_path)
|
|
26
31
|
|
|
27
32
|
des_path = Pathname.new(at_path)
|
|
28
33
|
current_class_path = Pathname.new(File.dirname(File.expand_path __FILE__))
|
|
29
34
|
|
|
30
35
|
FileUtils.remove_dir("#{current_class_path.to_s + '/temp'}", true)
|
|
31
|
-
temp_foler = '
|
|
36
|
+
temp_foler = 'full_component_demo_template'
|
|
32
37
|
if @is_simple == true
|
|
33
|
-
temp_foler = '
|
|
38
|
+
temp_foler = 'simple_component_demo_template'
|
|
34
39
|
end
|
|
35
40
|
FileUtils.copy_entry "#{current_class_path.to_s + "/#{temp_foler}"}", "#{current_class_path.to_s + '/temp'}"
|
|
36
41
|
if @is_simple != true
|
data/lib/yk_command/version.rb
CHANGED