Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmach committed Sep 8, 2024
1 parent 7fee246 commit 0994774
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -144,13 +144,15 @@ defmodule Req.MixProject do
for command <- commands do
[task | args] = OptionParser.split(command)

if github? do
IO.puts "::group::#{command}"
Mix.Task.rerun(task, args)
IO.puts "::endgroup::"
else
IO.puts("=> running mix #{command}")
Mix.Task.rerun(task, args)
fn _ ->
if github? do
IO.puts("::group::#{command}")
Mix.Task.rerun(task, args)
IO.puts("::endgroup::")
else
IO.puts("=> running mix #{command}")
Mix.Task.rerun(task, args)
end
end
end
end
Expand Down

0 comments on commit 0994774

Please sign in to comment.