Skip to content

Commit

Permalink
Added experimental improvement for task building output
Browse files Browse the repository at this point in the history
  • Loading branch information
Fulgurance committed Sep 20, 2024
1 parent bb152bc commit b4cca81
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions ISM/CommandLine.cr
Original file line number Diff line number Diff line change
Expand Up @@ -1523,6 +1523,7 @@ module ISM
end

def buildTasksFile
processOutput = IO::Memory.new
processResult = IO::Memory.new

process = Process.run( "crystal build --release --progress #{ISM::Default::Filename::Task}.cr -o #{@settings.rootPath}#{ISM::Default::Path::RuntimeDataDirectory}#{ISM::Default::Filename::Task} -f json",
Expand All @@ -1531,6 +1532,8 @@ module ISM
shell: true,
chdir: "#{@settings.rootPath}#{ISM::Default::Path::RuntimeDataDirectory}")

print processOutput.to_s

processResult.rewind

if processResult.to_s != ""
Expand Down

0 comments on commit b4cca81

Please sign in to comment.