mirror of
https://github.com/zhigang1992/RubyMotion.git
synced 2026-04-02 22:42:49 +08:00
[Command] Disable template validation for now.
Fixes http://hipbyte.myjetbrains.com/youtrack/issue/RM-418.
This commit is contained in:
1
NEWS
1
NEWS
@@ -5,6 +5,7 @@
|
||||
* Added a feature to support Subscripting (Objective-C Literals).
|
||||
* Made the REPL for a OS X application work in development mode when it is
|
||||
sandboxed.
|
||||
* Fixed a regression with specifying external templates to `motion create'.
|
||||
|
||||
= RubyMotion 2.22 =
|
||||
|
||||
|
||||
@@ -63,9 +63,11 @@ module Motion; class Command
|
||||
def validate!
|
||||
super
|
||||
help! "A name for the new project is required." unless @app_name
|
||||
unless self.class.all_templates.include?(@template)
|
||||
help! "Invalid template specified `#{@template}'."
|
||||
end
|
||||
# TODO This needs to take into account external templates (e.g. from git
|
||||
# or a local path.)
|
||||
#unless self.class.all_templates.include?(@template)
|
||||
#help! "Invalid template specified `#{@template}'."
|
||||
#end
|
||||
end
|
||||
|
||||
def run
|
||||
|
||||
Reference in New Issue
Block a user