Created
May 16, 2014 20:21
-
-
Save jsantell/0bcc2f2f7f8e886fa2c9 to your computer and use it in GitHub Desktop.
building devtools
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### These are only for debug builds, let's not deal with that for now | |
#ac_add_options --enable-debug | |
#ac_add_options --disable-optimize | |
# Uses multicores when building | |
mk_add_options MOZ_MAKE_FLAGS="-j8" | |
# Honestly I don't know what this does | |
ac_add_options --with-ccache |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# More info | |
# https://wiki.mozilla.org/DevTools/Hacking | |
# Rebuild everything, 30m | |
./mach clobber && ./mach build | |
# Rebuild just devtools | |
./mach build browser/devtools | |
# Rebuild just a devtools component | |
./mach build browser/devtools/webconsole | |
# Run all tests in a component | |
./mach mochitest-devtools browser/devtools/webconsole | |
# Rebuild just a single test | |
./mach build browser/devtools/webconsole/test/test-name.js |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment