[gradle] 04/06: Re-use the faster clean logic from gradle-debian-helper
Emmanuel Bourg
ebourg-guest at moszumanska.debian.org
Wed Dec 30 14:07:53 UTC 2015
This is an automated email from the git hooks/post-receive script.
ebourg-guest pushed a commit to branch master
in repository gradle.
commit fcfcf002d6c134f0cf53a602bf452146e0718847
Author: Emmanuel Bourg <ebourg at apache.org>
Date: Wed Dec 30 12:42:04 2015 +0100
Re-use the faster clean logic from gradle-debian-helper
---
debian/changelog | 1 +
debian/rules | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 0720476..b2be2f8 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -4,6 +4,7 @@ gradle (2.8-1) UNRELEASED; urgency=medium
* New upstream release
- Refreshed the patches
- Updated the Lintian overrides libgradle-core-java
+ * Re-use the faster clean logic from gradle-debian-helper
-- Emmanuel Bourg <ebourg at apache.org> Tue, 29 Dec 2015 23:26:47 +0100
diff --git a/debian/rules b/debian/rules
index b4ec1a9..257f193 100755
--- a/debian/rules
+++ b/debian/rules
@@ -25,9 +25,9 @@ override_dh_auto_build:
override_dh_auto_clean:
dh_auto_clean
- gradle clean $(GRADLE_FLAGS)
+ find . -wholename .*build/tmp | xargs echo | sed -e 's^build/tmp^build^g' | xargs rm -Rf
+ rm -rf .gradle .gradlehome buildSrc/.gradle buildSrc/build build
rm -rf debian/gradle.1
- rm -rf .gradle .gradlehome buildSrc/.gradle buildSrc/build
rm -rf debian/*.pom
override_dh_install:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/gradle.git
More information about the pkg-java-commits
mailing list