diff options
Diffstat (limited to 'config/projects')
| -rw-r--r-- | config/projects/asdf.rb | 10 | ||||
| -rw-r--r-- | config/projects/mono.rb | 19 | ||||
| -rw-r--r-- | config/projects/python.rb | 14 | ||||
| -rw-r--r-- | config/projects/pythons.rb | 22 | ||||
| -rw-r--r-- | config/projects/rubies.rb | 22 | ||||
| -rw-r--r-- | config/projects/ruby.rb | 15 |
6 files changed, 45 insertions, 57 deletions
diff --git a/config/projects/asdf.rb b/config/projects/asdf.rb new file mode 100644 index 0000000..8b9e9f5 --- /dev/null +++ b/config/projects/asdf.rb @@ -0,0 +1,10 @@ +name "asdf" +maintainer "https://github.com/asdf-vm/asdf#contributing" +homepage "https://github.com/asdf-vm/asdf" + +install_dir "/opt/asdf" + +build_version '0.7.8' +build_iteration 1 + +dependency "asdf" diff --git a/config/projects/mono.rb b/config/projects/mono.rb index 28fe66f..01fc85b 100644 --- a/config/projects/mono.rb +++ b/config/projects/mono.rb @@ -1,21 +1,14 @@ -name "mono" +mono_version = ENV.fetch('MONO_VERSION', '6.8.0.123') + +name "mono-#{mono_version}" maintainer "mkhan@gitlab.com" homepage "https://gitlab.com/xlgmokha/omnibus-asdf" -# Defaults to C:/asdf on Windows -# and /opt/asdf on all other platforms -install_dir "/opt/asdf" +install_dir "/opt/asdf/installs/mono/#{mono_version}" -build_version ENV['MONO_VERSION'] +build_version mono_version build_iteration 1 -# Creates required build directories dependency "preparation" -override 'asdf-mono', version: ENV['MONO_VERSION'] +override 'asdf-mono', version: mono_version dependency "asdf-mono" - -# asdf dependencies/components -# dependency "somedep" - -#exclude "**/.git" -#exclude "**/bundler/git" diff --git a/config/projects/python.rb b/config/projects/python.rb new file mode 100644 index 0000000..c539e1d --- /dev/null +++ b/config/projects/python.rb @@ -0,0 +1,14 @@ +python_version = ENV.fetch('PYTHON_VERSION', '3.8.3') + +name "python-#{python_version}" +maintainer "mkhan@gitlab.com" +homepage "https://gitlab.com/xlgmokha/omnibus-asdf" + +install_dir "/opt/asdf/installs/python/#{python_version}" + +build_version python_version +build_iteration 1 + +dependency "preparation" +override 'asdf-python', version: python_version +dependency "asdf-python" diff --git a/config/projects/pythons.rb b/config/projects/pythons.rb deleted file mode 100644 index 54493d0..0000000 --- a/config/projects/pythons.rb +++ /dev/null @@ -1,22 +0,0 @@ -name "pythons" -maintainer "mkhan@gitlab.com" -homepage "https://gitlab.com/xlgmokha/omnibus-asdf" - -# Defaults to C:/asdf on Windows -# and /opt/asdf on all other platforms -install_dir "/opt/asdf" - -build_version ENV.fetch('PYTHON_VERSION', '0.1.0') -build_iteration 1 - -# Creates required build directories -dependency "preparation" -dependency "asdf-python-plugin" -override('asdf-python', version: ENV['PYTHON_VERSION']) if ENV['PYTHON_VERSION'] -dependency "asdf-python" - -# asdf dependencies/components -# dependency "somedep" - -#exclude "**/.git" -#exclude "**/bundler/git" diff --git a/config/projects/rubies.rb b/config/projects/rubies.rb deleted file mode 100644 index 8c39571..0000000 --- a/config/projects/rubies.rb +++ /dev/null @@ -1,22 +0,0 @@ -name "rubies" -maintainer "mkhan@gitlab.com" -homepage "https://gitlab.com/xlgmokha/omnibus-asdf" - -# Defaults to C:/asdf on Windows -# and /opt/asdf on all other platforms -install_dir "/opt/asdf" - -build_version ENV['RUBY_VERSION'] -build_iteration 1 - -# Creates required build directories -dependency "preparation" -dependency "asdf-ruby-plugin" -override 'asdf-ruby', version: ENV['RUBY_VERSION'] -dependency "asdf-ruby" - -# asdf dependencies/components -# dependency "somedep" - -#exclude "**/.git" -#exclude "**/bundler/git" diff --git a/config/projects/ruby.rb b/config/projects/ruby.rb new file mode 100644 index 0000000..d424569 --- /dev/null +++ b/config/projects/ruby.rb @@ -0,0 +1,15 @@ +ruby_version = ENV.fetch('RUBY_VERSION', '2.7.1') + +name "ruby-#{ruby_version}" +maintainer "mkhan@gitlab.com" +homepage "https://gitlab.com/xlgmokha/omnibus-asdf" + +install_dir "/opt/asdf/installs/ruby/#{ruby_version}" + +build_version ruby_version +build_iteration 1 + +dependency "preparation" +override 'asdf_ruby', version: ruby_version +dependency "asdf_ruby" + |
