lib/rconf/configurators/build_configurator.rb in rconf-0.9.25 vs lib/rconf/configurators/build_configurator.rb in rconf-0.10.0
- old
+ new
@@ -17,18 +17,16 @@
register :build
description 'Builds a repository using the ./configure, make, make install commands'
- settings :path => 'Path to source files',
- :tarball_url => 'URL to source code tarball to be downloaded, supports .tgz and .zip',
- :tarball_dir => 'Name of directory created when untaring tarball, required if "tarball_url" is set',
- :pre_step => 'Command ran prior to ./configure',
- :message => 'Progress message to display if any while building',
- :configure_opts => 'Hash of options to be given to the configure script. ' +
+ setting 'path', 'Path to source files', :required => true
+ setting 'tarball_url', 'URL to source code tarball to be downloaded, supports .tgz and .zip'
+ setting 'tarball_dir', 'Name of directory created when untaring tarball, required if "tarball_url" is set'
+ setting 'pre_step', 'Command ran prior to ./configure'
+ setting 'message', 'Progress message to display if any while building'
+ setting 'configure_opts', 'Hash of options to be given to the configure script. ' +
'The keys are the platform families (:darwin, :linux or :windows)'
-
- validate_has_settings :path
# No way to check, return false
#
# === Return
# false:: Always return false