diff --git a/NEWS b/NEWS index 61a5715d..06d5cc2c 100644 --- a/NEWS +++ b/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 = diff --git a/lib/motion/command/create.rb b/lib/motion/command/create.rb index 06aa314e..16bfc878 100644 --- a/lib/motion/command/create.rb +++ b/lib/motion/command/create.rb @@ -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