diff options
| author | mo khan <mo.khan@gmail.com> | 2020-06-16 17:05:34 -0600 |
|---|---|---|
| committer | mo khan <mo.khan@gmail.com> | 2020-06-16 17:05:34 -0600 |
| commit | daee8e1bf31369752a2f2cf799b1e460b866fba9 (patch) | |
| tree | a2223563bab595371975860dfcc96e2c14e9d036 /config/software | |
| parent | bf492273b5c3ea455cec18cb3604f81879600fba (diff) | |
Install asdf
Diffstat (limited to 'config/software')
| -rw-r--r-- | config/software/preparation.rb | 33 |
1 files changed, 11 insertions, 22 deletions
diff --git a/config/software/preparation.rb b/config/software/preparation.rb index 05ca827..f37f3e5 100644 --- a/config/software/preparation.rb +++ b/config/software/preparation.rb @@ -1,30 +1,19 @@ -# -# Copyright 2020 YOUR NAME -# -# Licensed under the Apache License, Version 2.0 (the "License"); -# you may not use this file except in compliance with the License. -# You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. -# - name "preparation" description "the steps required to prepare the build" -default_version "1.0.0" +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 :project_license -skip_transitive_dependency_licensing true +license_file "#{project_dir}/LICENSE" +#skip_transitive_dependency_licensing true build do block do - touch "#{install_dir}/embedded/lib/.gitkeep" - touch "#{install_dir}/embedded/bin/.gitkeep" - touch "#{install_dir}/bin/.gitkeep" + 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 |
