Commits

Stefan Saasen  committed f3128e5

Fail if cabal returns an error

  • Participants
  • Parent commits 3e879c7

Comments (0)

Files changed (1)

File logparser/Rakefile

 
 def cabal(cmd)
   print `cabal #{cmd}`
+  raise "Failed to execute 'cabal #{cmd}'" unless $?.to_i.eql?(0)
 end
 
 def with_temp_dir(name)