Repository: incubator-htrace
Updated Branches:
  refs/heads/3.1 9534eff4d -> 57567c6a1


HTRACE-55 Add Clean command to htrace go


Project: http://git-wip-us.apache.org/repos/asf/incubator-htrace/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-htrace/commit/57567c6a
Tree: http://git-wip-us.apache.org/repos/asf/incubator-htrace/tree/57567c6a
Diff: http://git-wip-us.apache.org/repos/asf/incubator-htrace/diff/57567c6a

Branch: refs/heads/3.1
Commit: 57567c6a184e2cd90c54a50f1251101def892fa0
Parents: 9534eff
Author: Elliott Clark <[email protected]>
Authored: Mon Jan 5 10:38:37 2015 -0800
Committer: Elliott Clark <[email protected]>
Committed: Fri Jan 9 14:38:08 2015 -0800

----------------------------------------------------------------------
 htrace-core/pom.xml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-htrace/blob/57567c6a/htrace-core/pom.xml
----------------------------------------------------------------------
diff --git a/htrace-core/pom.xml b/htrace-core/pom.xml
index 4271c34..7c04789 100644
--- a/htrace-core/pom.xml
+++ b/htrace-core/pom.xml
@@ -104,6 +104,23 @@ language governing permissions and limitations under the 
License. -->
               </tasks>
             </configuration>
           </execution>
+          <execution>
+            <phase>clean</phase>
+            <id>go_clean</id>
+            <goals><goal>run</goal></goals>
+            <configuration>
+              <tasks>
+                <exec executable="bash" failonerror="true" 
dir="${basedir}/src/go">
+                  <arg value="-c"/>
+                  <arg value="./gobuild.sh clean"/>
+                </exec>
+                <exec executable="bash" failonerror="true" 
dir="${basedir}/src/go">
+                  <arg value="-c"/>
+                  <arg value="rm -f ./bin/*"/>
+                </exec>
+              </tasks>
+            </configuration>
+          </execution>
         </executions>
       </plugin>
       <plugin>

Reply via email to