Sha256: 424958db4a59186f242f70b6c14522c7fd34302dac16680045c28db5d3b6a617

Contents?: true

Size: 842 Bytes

Versions: 31

Compression:

Stored size: 842 Bytes

Contents

require 'rake/tasklib'

module Simp::Rake; end
module Simp::Rake::Build; end
module Simp::Rake::Build::Constants
  def init_member_vars( base_dir )
    @run_dir   = Dir.pwd
    @base_dir  = base_dir
    @build_arch = ENV['buld_arch'] || %x{#{:facter} hardwaremodel 2>/dev/null}.chomp
    @build_dir  = "#{@base_dir}/build"
    @dist_dir   = "#{@build_dir}/dist"
    @dvd_dir    = "#{@build_dir}/DVD_Overlay"
    @src_dir    = "#{@base_dir}/src"
    @dvd_src       = "#{@src_dir}/DVD"
    @spec_dir      = "#{@src_dir}/build"
    @spec_file    = FileList["#{@spec_dir}/*.spec"]
    @target_dists  = ['CentOS','RHEL']  # The first item is the default build...
    @simp_version  = Simp::RPM.get_info("#{@spec_dir}/simp.spec")[:full_version]
    @rhel_version  = ENV['rhel_version'] || '6'
    @simp_dvd_dirs = ["SIMP","ks","Config"]
  end
end

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
simp-rake-helpers-3.0.0 lib/simp/rake/build/constants.rb
simp-rake-helpers-2.5.7 lib/simp/rake/build/constants.rb
simp-rake-helpers-2.5.5 lib/simp/rake/build/constants.rb
simp-rake-helpers-2.5.4 lib/simp/rake/build/constants.rb
simp-rake-helpers-2.5.3 lib/simp/rake/build/constants.rb
simp-rake-helpers-2.5.2 lib/simp/rake/build/constants.rb
simp-rake-helpers-2.5.1 lib/simp/rake/build/constants.rb
simp-rake-helpers-2.5.0 lib/simp/rake/build/constants.rb
simp-rake-helpers-2.4.7 lib/simp/rake/build/constants.rb
simp-rake-helpers-2.4.6 lib/simp/rake/build/constants.rb
simp-rake-helpers-2.4.4 lib/simp/rake/build/constants.rb
simp-rake-helpers-2.4.3 lib/simp/rake/build/constants.rb
simp-rake-helpers-2.4.2 lib/simp/rake/build/constants.rb
simp-rake-helpers-2.4.1 lib/simp/rake/build/constants.rb
simp-rake-helpers-2.4.0 lib/simp/rake/build/constants.rb
simp-rake-helpers-2.3.2 lib/simp/rake/build/constants.rb
simp-rake-helpers-2.3.1 lib/simp/rake/build/constants.rb
simp-rake-helpers-2.3.0 lib/simp/rake/build/constants.rb
simp-rake-helpers-2.1.3 lib/simp/rake/build/constants.rb
simp-rake-helpers-2.1.1 lib/simp/rake/build/constants.rb