[Pkg-javascript-commits] [jquery] 14/15: also remove embedded code copies

Antonio Terceiro terceiro at moszumanska.debian.org
Wed Sep 2 14:44:33 UTC 2015


This is an automated email from the git hooks/post-receive script.

terceiro pushed a commit to branch master
in repository jquery.

commit b17af016ce78fa28efa4c9719cba274d50cb269b
Author: Antonio Terceiro <terceiro at debian.org>
Date:   Wed Sep 2 11:12:17 2015 -0300

    also remove embedded code copies
---
 debian/README.source.md |  1 +
 debian/prepare-tarball  | 11 +++++++++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/debian/README.source.md b/debian/README.source.md
index c6094ac..acd247a 100644
--- a/debian/README.source.md
+++ b/debian/README.source.md
@@ -13,6 +13,7 @@ this package is handled:
   page.
 * remove dist/, which contains a pre-built jquery.js, jquery.min.js, and
   jquery.min.map
+* remove unecessary embedded code copies from external/
 * add the src/ directory from the compat branch original tarball
 
 This process is automated in `debian/watch` and `debian/prepare-tarball`, so
diff --git a/debian/prepare-tarball b/debian/prepare-tarball
index 4be78d2..a49ca1e 100755
--- a/debian/prepare-tarball
+++ b/debian/prepare-tarball
@@ -26,8 +26,15 @@ tar xaf "$tarball"
 # add source for compat branch
 cp -r jquery-${upstream_version}-compat/src jquery-${upstream_version}/src-compat
 
-# remove dist/
-rm -rf jquery-${upstream_version}/dist
+# remove embedded copies and pre-built files
+(
+  cd jquery-${upstream_version}/
+  rm -rf dist/
+  rm -rf external/npo/
+  rm -rf external/qunit/
+  rm -rf external/requirejs/
+  rm -rf external/sinon/
+)
 
 # recompress
 rm -f "$tarball"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/jquery.git



More information about the Pkg-javascript-commits mailing list