Class: Simp::Rake::Build::Helpers

Inherits:
Object
  • Object
show all
Defined in:
lib/simp/rake/build/helpers.rb

Instance Method Summary collapse

Constructor Details

#initialize(dir = Dir.pwd) ⇒ Helpers

Returns a new instance of Helpers.



12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# File 'lib/simp/rake/build/helpers.rb', line 12

def initialize(dir = Dir.pwd)
  Dir[File.join(File.dirname(__FILE__), '*.rb')].sort.each do |rake_file|
    next if rake_file == __FILE__

    require rake_file
  end
  Simp::Rake::Build::Auto.new(dir)
  Simp::Rake::Build::Build.new(dir)
  Simp::Rake::Build::Code.new(dir)
  Simp::Rake::Build::Deps.new(dir)
  Simp::Rake::Build::Iso.new(dir)
  Simp::Rake::Build::Pkg.new(dir)
  Simp::Rake::Build::Spec.new(dir)
  Simp::Rake::Build::Tar.new(dir)
  Simp::Rake::Build::Upload.new(dir)
  Simp::Rake::Build::Unpack.new(dir)
  Simp::Rake::Build::Clean.new(dir)
end