1. Stefan Saasen
  2. stash-log-parser

Commits

Stefan Saasen  committed f3128e5

Fail if cabal returns an error

  • Participants
  • Parent commits 3e879c7
  • Branches master

Comments (0)

Files changed (1)

File logparser/Rakefile

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