зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1591538 - Remove removal of Cargo.toml files in the SM tarball; r=sfink
${tgtpath} always contain "js" by default, so this command is doing absolutely nothing for most people out there, and if it was working it would be deleting every Cargo.toml file from /third_party/rust anyway. Differential Revision: https://phabricator.services.mozilla.com/D50736 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
24972ce434
Коммит
7dec8d283a
|
@ -249,10 +249,6 @@ README_EOF
|
|||
# Remove *.pyc and *.pyo files if any
|
||||
find ${tgtpath} -type f -name "*.pyc" -o -name "*.pyo" | xargs rm -f
|
||||
|
||||
# Remove non-JS Cargo.toml files (for example, the invalid Cargo.toml files
|
||||
# used for some testing).
|
||||
find ${tgtpath} -type f -name Cargo.toml | grep -v js | xargs rm -f
|
||||
|
||||
# Roll the tarball
|
||||
echo "Packaging source tarball at ${pkgpath}..."
|
||||
${TAR} $taropts ${pkgpath} -C ${STAGING} ${version}
|
||||
|
|
Загрузка…
Ссылка в новой задаче