Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRuy Adorno <ruyadorno@hotmail.com>2020-05-01 17:51:55 +0300
committerRuy Adorno <ruyadorno@hotmail.com>2020-05-01 19:22:14 +0300
commit36c878d7590514adec06884912f66862a5d7dd06 (patch)
treee12c0f57ae0db8c1902f3b28a998ce92d176c578 /scripts
parent0f219ccc9c1c16b8e52f3438f3af53dc1c9f0d78 (diff)
chore: remove pyc files from tarball
Fix #1037
Diffstat (limited to 'scripts')
-rw-r--r--scripts/release.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/release.sh b/scripts/release.sh
index 31fb6fa19..75d2115aa 100644
--- a/scripts/release.sh
+++ b/scripts/release.sh
@@ -7,6 +7,8 @@ unset CDPATH
set -e
rm -rf release *.tgz || true
+rm node_modules/node-gyp/gyp/pylib/gyp/*.pyc || true
+rm node_modules/node-gyp/gyp/pylib/gyp/generator/*.pyc || true
mkdir release
node ./bin/npm-cli.js pack --loglevel error >/dev/null
mv *.tgz release