#35 mvn will auto add clean package

This commit is contained in:
Michael Lee
2015-08-26 14:01:36 +01:00
parent b21c9ebb43
commit 0d86fce9be
3 changed files with 49 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
from thefuck import shells
def match(command, settings):
return 'No goals have been specified for this build' in command.stdout and command.script.startswith('mvn')
def get_new_command(command, settings):
return [ command.script + ' clean package', command.script + ' clean install']