"Fossies" - the Fresh Open Source Software Archive

Member "selenium-selenium-4.8.1/rake_tasks/bazel/task.rb" (17 Feb 2023, 207 Bytes) of package /linux/www/selenium-selenium-4.8.1.tar.gz:

As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Ruby source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. See also the last Fossies "Diffs" side-by-side code changes report for "task.rb": 4.6.0_vs_4.7.0.

    1 module Bazel
    2   class Task < Rake::Task
    3     def needed?
    4       true
    5     end
    7     def invoke(*_args, &block)
    8       self.out = Bazel::execute("build", name, &block)
   10       block&.call(cmd_out)
   11     end
   12   end
   13 end