summaryrefslogtreecommitdiff
path: root/priv
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2014-01-11 22:10:50 +0100
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2014-01-15 19:28:41 +0100
commit97c9fdf31acad6c38a02e6433787749d7ac143ab (patch)
tree474f291710143ac2891323b382faf200fc1f18a0 /priv
parent5d2b9ba23f8e32ad4f99850a71c62d8b7df262d8 (diff)
Fix basho/rebar#388
If the syntax error is in a .hrl file, then the reported error message is not as useful because it's not clear which .erl file was being compiled. We can fix that easily by first printing what source file was being processed. We don't change the actual error message, so this will still work with your editor of choice for jumping to the right line. Before ------ Success: Compiled src/foo.erl Failure: include/foo.hrl:10: syntax error [...] After ----- Success: Compiled src/foo.erl Failure: Compiling src/foo.erl failed: include/foo.hrl:10: syntax error [...]
Diffstat (limited to 'priv')
0 files changed, 0 insertions, 0 deletions