Sha256: 06c4bd52a35abfd80b22b10afe1c20af994fc1c97545f5828827bb7d00a78a47

Contents?: true

Size: 343 Bytes

Versions: 16

Compression:

Stored size: 343 Bytes

Contents

module Xcake
  class ProjectGenerator < Generator

    def self.dependencies
      Generator.repository.select do |g|
        g != self
      end
    end

    def leave_project(project)
      native_project = @context.native_object_for(project)
      native_project.save
      project.run_hook :after_save
      puts "Done!"
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

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