Sha256: ecf5975a6e0e8d0cff6437e53b4fefde16486af51103702b87d3fd0c7b98b51f

Contents?: true

Size: 367 Bytes

Versions: 1

Compression:

Stored size: 367 Bytes

Contents

module Rubymotionr
  class Repo

    attr_reader :path, :projects

    def initialize(path)
      @path = path
      @projects = find_projects(path)
    end

    private
    def find_projects(path)
      Dir.glob(File.join(path, "**/Rakefile")).collect { |loc|
        Project.new(loc.gsub("Rakefile", "")) if Project.is_rubymotion_app?(loc)
      }
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

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