Sha256: 2ce1ee3cadd0fa4e673e7aa995f6d070d014379c6d65768bd97c45d0f78f223a

Contents?: true

Size: 493 Bytes

Versions: 15

Compression:

Stored size: 493 Bytes

Contents

require 'xcodeproj'

#TODO: Figure out a more robust Dependency system
# - Needs to handle subclass of subclass.....
# - Needs to have better mixin hiearchy
# - Implement a pre-dependency (Something that this needs to happen in front of)

module Xcake
  module Dependency
    module ClassMethods
      def name
        self
      end

      def dependencies
        []
      end
    end

    def self.included(klass)
      klass.extend ClassMethods  # Somewhat controversial
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
xcake-0.6.19 lib/xcake/dependency.rb
xcake-0.6.18 lib/xcake/dependency.rb
xcake-0.6.17 lib/xcake/dependency.rb
xcake-0.6.16 lib/xcake/dependency.rb
xcake-0.6.14 lib/xcake/dependency.rb
xcake-0.6.13 lib/xcake/dependency.rb
xcake-0.6.12 lib/xcake/dependency.rb
xcake-0.6.11 lib/xcake/dependency.rb
xcake-0.6.10 lib/xcake/dependency.rb
xcake-0.6.9 lib/xcake/dependency.rb
xcake-0.6.8 lib/xcake/dependency.rb
xcake-0.6.7 lib/xcake/dependency.rb
xcake-0.6.6 lib/xcake/dependency.rb
xcake-0.6.5 lib/xcake/dependency.rb
xcake-0.6.4 lib/xcake/dependency.rb