This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<macrodef name="git-status"> | |
<attribute name="dir" default=""/> | |
<sequential> | |
<echo>Check that we have a clean working tree...</echo> | |
<exec executable="sh" dir="@{dir}" resultproperty="gitStatusResult"> | |
<arg value="-c"/> | |
<arg value="git status --porcelain | grep -E '.[^\?] '"/> | |
</exec> | |
<fail> | |
<condition> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Retention(RetentionPolicy.RUNTIME) | |
public @interface CommandDescriptor { | |
Class [] supportedChannels(); | |
boolean moderatorRequired(); | |
String [] commands(); | |
} | |
////////////////////////////////////////// | |
public class StandardCommands { |
NewerOlder