rake-tasks/selenium_rake/c_tasks.rb
# Every method below is only used in above `dll` method so they "should" all be ok to make
# into private methods. Will do this later on - Luke - Sep 2019
Every method below is only used in above `dll` method so they "should" all be ok to make
into private methods. Will do this later on - Luke - Sep 2019
Every method below is only used in above ` dll ` method so they " should " all be ok to make into private methods . Will do this later on - Luke - Sep 2019
def compile_file(out, deps, args)
      full_build_deps = "#{build_deps_(args[:src])}#{deps}"
      file out => full_build_deps do
        if out.end_with?('.dll')
          msbuild_legacy(args[:solution], out, args[:prebuilt])
        elsif out.end_with?('.so')
          is_32_bit = args[:arch] != 'amd64'
          self.bitness = is_32_bit
          gcc(args[:src], out, args[:args], args[:link_args], args[:prebuilt])
        else
          puts "Cannot compile #{args[:out]}"
          exit -1
        end
      end
    end
def compile_file ( out , deps , args ) full_build_deps = "#{build_deps_(args[:src])}#{deps}" file out => full_build_deps do if out . end_with? ( '.dll' ) msbuild_legacy ( args [ :solution ] , out , args [ :prebuilt ] ) elsif out . end_with? ( '.so' ) is_32_bit = args [ :arch ] != 'amd64' self . bitness = is_32_bit gcc ( args [ :src ] , out , args [ :args ] , args [ :link_args ] , args [ :prebuilt ] ) else puts "Cannot compile #{args[:out]}" exit - 1 end end end
Every method below is only used in above `dll` method so they "should" all be ok to make
into private methods.
Every method below is only used in above ` dll ` method so they " should " all be ok to make into private methods .
out
<not_specific>
deps
<not_specific>
args
<not_specific>