From a3f7cfb387e643b829133d67b7b6efac68e04992 Mon Sep 17 00:00:00 2001 From: mo khan Date: Sat, 20 Jun 2020 15:51:33 -0600 Subject: Install the asdf-ruby plugin --- config/projects/rubies.rb | 1 + config/software/asdf-ruby-plugin.rb | 13 +++++++++++++ 2 files changed, 14 insertions(+) create mode 100644 config/software/asdf-ruby-plugin.rb diff --git a/config/projects/rubies.rb b/config/projects/rubies.rb index 3256c77..8c39571 100644 --- a/config/projects/rubies.rb +++ b/config/projects/rubies.rb @@ -11,6 +11,7 @@ build_iteration 1 # Creates required build directories dependency "preparation" +dependency "asdf-ruby-plugin" override 'asdf-ruby', version: ENV['RUBY_VERSION'] dependency "asdf-ruby" diff --git a/config/software/asdf-ruby-plugin.rb b/config/software/asdf-ruby-plugin.rb new file mode 100644 index 0000000..8dbfb58 --- /dev/null +++ b/config/software/asdf-ruby-plugin.rb @@ -0,0 +1,13 @@ +name "asdf-ruby-plugin" +description "the steps required to prepare the build" +source git: "https://github.com/asdf-vm/asdf-ruby.git" +relative_path "ruby" + +license_file "#{project_dir}/LICENSE" +skip_transitive_dependency_licensing true + +build do + block do + sync project_dir, "#{install_dir}/plugins/ruby" + end +end -- cgit v1.2.3