Commits

Stefan Saasen committed f3128e5

Fail if cabal returns an error

Comments (0)

Files changed (1)

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)