Sha256: 84cdf164afc721caa3d6a06df8b7d9c58c611666cda83c22ccc7e1589d7ee02c

Contents?: true

Size: 371 Bytes

Versions: 2

Compression:

Stored size: 371 Bytes

Contents

module Xcake
  class ProjectGenerator < Generator
    def self.dependencies
      Generator.descendants.reject 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

      EventHooks.run_hook :after_project_save
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
xcake-0.9.1 lib/xcake/generator/project_generator.rb
xcake-0.9.0 lib/xcake/generator/project_generator.rb