podusowski / pake

Friendly C++ build system which doesn't follow trends
2 stars 1 forks source link

errors from run_* give ugly output #14

Open podusowski opened 9 years ago

podusowski commented 9 years ago
Traceback (most recent call last):
  File "./pake.py", line 451, in <module>

  File "./pake.py", line 434, in main

  File "/home/podusows/.waffle-0.1-6377b018e61adefaabfb0fc7f14eeeb1/waffle/src/targets.py", line 47, in build
    build(dependency)
  File "/home/podusows/.waffle-0.1-6377b018e61adefaabfb0fc7f14eeeb1/waffle/src/targets.py", line 51, in build
    target.before()
  File "/home/podusows/.waffle-0.1-6377b018e61adefaabfb0fc7f14eeeb1/waffle/src/targets.py", line 91, in before
    self.__try_run(self.common_parameters.run_before)
  File "/home/podusows/.waffle-0.1-6377b018e61adefaabfb0fc7f14eeeb1/waffle/src/targets.py", line 145, in __try_run
    shell.execute(cmd)
  File "/home/podusows/.waffle-0.1-6377b018e61adefaabfb0fc7f14eeeb1/waffle/src/shell.py", line 21, in execute
    raise Exception("command exited with error({}): {}".format(str(e.returncode), command))
Exception: command exited with error(1): ./OGRE.sh