diff options
author | Andrew Thompson <andrew@hijacked.us> | 2010-07-25 01:56:46 -0400 |
---|---|---|
committer | Andrew Thompson <andrew@hijacked.us> | 2010-07-25 01:56:46 -0400 |
commit | 24cc775e8874c9490352631e283c61bbb7cc4f2c (patch) | |
tree | 8d6f6fb64b2b9f005a2d3d1fc2dc859090abe48e /src/rebar_escripter.erl | |
parent | ce74846e4e6a481e67de6872008bcbf3d502aa4b (diff) |
Warn when a command is not implemented. Fail when no supplied commands are implemented
Rebar currently doesn't give any feedback on an invalid command. This change
makes rebar keep track of how many operations each command triggers, if a
particular command doesn't change the count, there were no modules implementing
it. If at the end of handling all commands, tje count is 0, none of the supplied
commands were valid and ?FAIL is called to trigger a non zero exit status.
Diffstat (limited to 'src/rebar_escripter.erl')
0 files changed, 0 insertions, 0 deletions