зеркало из https://github.com/mozilla/gecko-dev.git
56a3eb2252
CalledProcessError.output and subprocess.check_output's return value are str types. This file uses unicode_literals. If we do something like `if 'foo' in e.output`, there will be a mix of str and unicode types and Python will do implicit conversion. If the strings aren't ASCII, we'll likely encounter a UnicodeDecodeError. Use b'' literals around all strings to prevent this coercion from occurring. --HG-- extra : commitid : 89l5oW9T8ks extra : rebase_source : f402353cd4a759c882475518f1360687af1936dc extra : amend_source : ec31a39620eae2c90fb832f314cd161905444a34 |
||
---|---|---|
.. | ||
bin | ||
mozboot | ||
README.rst | ||
setup.py |
README.rst
mozboot - Bootstrap your system to build Mozilla projects ========================================================= This package contains code used for bootstrapping a system to build mozilla-central. This code is not part of the build system per se. Instead, it is related to everything up to invoking the actual build system. If you have a copy of the source tree, you run: python bin/bootstrap.py If you don't have a copy of the source tree, you can run: curl https://hg.mozilla.org/mozilla-central/raw-file/default/python/mozboot/bin/bootstrap.py | python - The bootstrap script will download everything it needs from hg.mozilla.org automatically!