summaryrefslogtreecommitdiff
path: root/config/software/preparation.rb
blob: f37f3e5076efe7fa59ef6ada49405bdad9685a3f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
name "preparation"
description "the steps required to prepare the build"
default_version "0.7.8"
source url: "https://github.com/asdf-vm/asdf/archive/v0.7.8.tar.gz", md5: 'c64fe16441d639669a6bf56a860e0eb4'
relative_path "asdf-#{version}"

license_file "#{project_dir}/LICENSE"
#skip_transitive_dependency_licensing true

build do
  block do
    sync "#{project_dir}/bin", "#{install_dir}/bin"
    sync "#{project_dir}/lib", "#{install_dir}/lib"
    command "echo 'legacy_version_file = yes' > #{install_dir}/defaults"
    #touch "#{install_dir}/embedded/lib/.gitkeep"
    #touch "#{install_dir}/embedded/bin/.gitkeep"
    #touch "#{install_dir}/bin/.gitkeep"
  end
end