Sha256: 46acda88ca1d30aa6d6e3fbb0d6f02dabf2dcf36e976aa309393b45d9ab260f3

Contents?: true

Size: 380 Bytes

Versions: 1

Compression:

Stored size: 380 Bytes

Contents

module Rubymotionr
  class Project

    attr_reader :gem_prereqs, :path

    def initialize(path)
      @path = path
      #TODO: Find, parse and return gem prereqs
      #TODO: Consider CocoPods
      #@gem_prereqs = get_prereqs
    end

    def self.is_rubymotion_app?(path)
      rakefile = File.read(path)
      rakefile.include?(%{require 'motion/project'})
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubymotionr-0.0.1 lib/rubymotionr/project.rb