summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormo khan <mo.khan@gmail.com>2020-06-20 15:51:33 -0600
committermo khan <mo.khan@gmail.com>2020-06-20 15:51:33 -0600
commita3f7cfb387e643b829133d67b7b6efac68e04992 (patch)
treeca77fa91fcd5310520d5369d7b8a550b8120da1b
parent92b89132b6fb18b52a1c1bc6c8933c7e12e0009a (diff)
Install the asdf-ruby plugin
-rw-r--r--config/projects/rubies.rb1
-rw-r--r--config/software/asdf-ruby-plugin.rb13
2 files changed, 14 insertions, 0 deletions
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