{"id":3001,"date":"2013-08-08T09:54:32","date_gmt":"2013-08-08T07:54:32","guid":{"rendered":"http:\/\/glandium.org\/blog\/?p=3001"},"modified":"2019-09-03T15:26:19","modified_gmt":"2019-09-03T06:26:19","slug":"faster-builds-for-firefox-front-end-developers-with-make","status":"publish","type":"post","link":"https:\/\/glandium.org\/blog\/?p=3001","title":{"rendered":"Faster builds for Firefox front-end developers with make"},"content":{"rendered":"<p>There's a trend of blog posts about faster builds, so here's another one.<\/p>\n<p>There is a trick that allows to skip most compilation from the tree, but it only works if the only changes you make are under <code>browser\/<\/code> (which should be the case for a lot of front-end development).<\/p>\n<ul>\n<li>Get a <a href=\"ftp:\/\/ftp.mozilla.org\/pub\/mozilla.org\/xulrunner\/nightly\/latest-mozilla-central\/\">xulrunner SDK nightly for your platform<\/a>.<\/li>\n<li>Unpack it with tar or unzip depending on the file you got.<\/li>\n<li>Add the following to your <code>mozconfig<\/code>:<br \/>\n<blockquote>\n<pre>ac_add_options --with-libxul-sdk=\/path\/to\/the\/unpacked\/xulrunner-sdk<\/pre>\n<\/blockquote>\n<\/li>\n<li>Build with your favorite command.<\/li>\n<li>Enjoy finishing your clobber build under 30 seconds (20 seconds here, including a 10 seconds configure).<\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>There&#8217;s a trend of blog posts about faster builds, so here&#8217;s another one. There is a trick that allows to skip most compilation from the tree, but it only works if the only changes you make are under browser\/ (which should be the case for a lot of front-end development). Get a xulrunner SDK nightly [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[25],"tags":[23],"class_list":["post-3001","post","type-post","status-publish","format-standard","hentry","category-planet-mozilla","tag-en"],"_links":{"self":[{"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3001","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3001"}],"version-history":[{"count":3,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3001\/revisions"}],"predecessor-version":[{"id":3004,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=\/wp\/v2\/posts\/3001\/revisions\/3004"}],"wp:attachment":[{"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3001"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3001"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/glandium.org\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3001"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}