lib/rconf/configurators/build_configurator.rb in rconf-0.7.8 vs lib/rconf/configurators/build_configurator.rb in rconf-0.7.9

- old
+ new

@@ -30,11 +30,11 @@ # Run command line # # === Return # true:: Always return true - def run + def run_linux if only_if.nil? || instance_eval(only_if) message("Building #{path}") if message.nil? report_check message Dir.chdir(path) do Command.execute(*command_args(pre_step)) if pre_step @@ -48,9 +48,18 @@ Command.sudo(*command_args('make install')) end report_success end true + end + alias :run_darwin :run_linux + + # Run command line on Windows + # + # === Return + # true:: Always return true + def run_windows + true # TBD end protected # Build arguments for Command.execute from command line