summaryrefslogtreecommitdiff
path: root/priv/templates/simplesrv.erl
diff options
context:
space:
mode:
authorAndrew Thompson <andrew@hijacked.us>2010-07-25 01:56:46 -0400
committerAndrew Thompson <andrew@hijacked.us>2010-07-25 01:56:46 -0400
commit24cc775e8874c9490352631e283c61bbb7cc4f2c (patch)
tree8d6f6fb64b2b9f005a2d3d1fc2dc859090abe48e /priv/templates/simplesrv.erl
parentce74846e4e6a481e67de6872008bcbf3d502aa4b (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 'priv/templates/simplesrv.erl')
0 files changed, 0 insertions, 0 deletions