lib/appjam/generators/actions.rb in appjam-0.1.8.4 vs lib/appjam/generators/actions.rb in appjam-0.1.8.5
- old
+ new
@@ -85,9 +85,10 @@
end
# Returns true if inside a Appjam application
def in_app_root?
File.exist?(destination_root('Classes'))
+ # Dir.glob("*.xcodeproj").count >= 1
end
# Returns the field with an unacceptable name(for symbol) else returns nil
def invalid_fields(fields)
results = fields.select { |field| field.split(":").first =~ /\W/ }