Skip to content

Commit

Permalink
j in target
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Jun 27, 2024
1 parent 42aeffe commit a9ffda6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions baza.rb
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@
end

configure do
lib = File.absolute_path(File.join(__dir__, 'j'))
['', 'lib', 'judges'].each { |d| FileUtils.mkdir_p(File.join(lib, d)) } if ENV['RACK_ENV'] == 'test'
lib = File.absolute_path(File.join(__dir__, ENV['RACK_ENV'] == 'test' ? 'target/j' : 'j'))
['', 'lib', 'judges'].each { |d| FileUtils.mkdir_p(File.join(lib, d)) }
set :pipeline, Baza::Pipeline.new(lib, settings.humans, settings.fbs, settings.loog)
settings.pipeline.start unless ENV['RACK_ENV'] == 'test'
end
Expand Down
2 changes: 1 addition & 1 deletion views/jobs.haml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@
👍🏻
- else
%span.darkred
= j.result.exit
= format('%03d', j.result.exit)
%td.right.ff
= msec(j.result.msec)
- if j.expired?
Expand Down

0 comments on commit a9ffda6

Please sign in to comment.