Commit graph

51 commits

Author SHA1 Message Date
Ms2ger
13086abfdc Check the return code of cargo build (except on Android). 2015-08-25 16:32:51 +02:00
Vinzent Steinberg
824384a1c2 Fix 'mach test' 2015-08-15 14:38:44 +02:00
Vinzent Steinberg
fe7b443c16 mach: Print commands if '--verbose' is set
Fixes #6363.
2015-08-15 13:58:36 +02:00
Corey Farwell
f873db5ab0 Allow Servo tests to be built/run with --release mode
Fixes #5075
2015-08-10 08:59:54 -04:00
Matt Brubeck
4c3a6b839b Perform argument validation before bootstrapping.
If there's an error in the command-line arguments for `mach build`, we should
print it before starting a (potentially) long bootstrap process, not after.
2015-07-25 07:53:53 -07:00
Michael Tremel
bb426d3575 notify_darwin should trap import errors and provide the useful package name for the user to install. 2015-06-27 17:13:36 -07:00
Jesse Ruderman
e6dc0d06d6 Add space between sentences 2015-06-26 13:17:15 -07:00
Jack Moffitt
a0237085c6 Use Cargo's target directory sharing.
This speeds up `./mach build --dev` followed by `./mach build-cef` by a
large amount, and also speeds up other build combos found in our CI.
2015-06-15 11:48:47 -06:00
Corey Farwell
848c57653c Add flake8 to the tidy process for Python files
Fixes #6236

Also included in this commit are the changes need to make flake8 pass
for the existing python file
2015-06-04 11:17:34 -04:00
Corey Farwell
e3b71c65bf Fix tidy issues with Python files in python/ 2015-06-02 19:51:41 -04:00
Corey Farwell
7137b0610c Remove trailing whitespace on Python files
Trailing whitespace was found using flake8

This is working towards making flake8 part of the tidy process: #6236
2015-06-02 11:29:54 -04:00
Corey Farwell
7bddb1185f Remove unused imports in the Python files
Found using flake8
2015-05-31 19:15:32 -04:00
Jinank Jain
8af4e10086 Fixed #6048 2015-05-14 21:52:23 +02:00
bors-servo
c0d8488b71 Auto merge of #6038 - mbrubeck:jinankjain-Bug#5933, r=mbrubeck
Require either `--dev` or `--release`, unless a default build.mode is set in `.servobuild`.  This is @jinankjain's patch from #5965, rebased onto master.  It is already reviewed, and only waiting for servo/saltfs#28 to be deployed.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6038)
<!-- Reviewable:end -->
2015-05-14 11:26:18 -05:00
Andreas Tolfsen
b1d03dc460 build: native notifications on Mac OS
Also refactors the notification function to introduce some single
responsibility.
2015-05-13 18:11:31 +01:00
Jinank Jain
c98d55fe28 Add --dev option to mach build
Require either --dev or --release, unless a default build.mode is set
in .servobuild.  Fixes #5933.
2015-05-13 09:25:43 -07:00
andars
c160248717 Add mac support for build notifications
Closes #5582
2015-05-12 18:38:47 -07:00
bors-servo
3e69bf8cd2 Auto merge of #6023 - mbrubeck:dev-nop, r=larsbergstrom
This is part of #5965.  It needs to land before the rest of that PR, so we can land servo/saltfs#28 without breaking automated builds for other PRs. r? @larsbergstrom

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6023)
<!-- Reviewable:end -->
2015-05-12 15:39:11 -05:00
Matt Brubeck
2dc048116e Add a no-op --dev option to the mach build command.
This is part of #5965.  It needs to land before the rest of that PR, so we can
land servo/saltfs#28 without breaking automated builds for other PRs.
2015-05-12 11:32:08 -07:00
Matt Brubeck
041d527335 Fail the build if openssl.makefile fails 2015-05-06 09:59:18 -07:00
Matt Brubeck
79894f7ec5 Show a notification for all builds > 30 sec.
The 300 second threshold was originally from the Gecko/Firefox build system.
It doesn't fit Servo builds, which are shorter, and often hover right around
the 300 second mark (making the notification unpredictable).
2015-04-23 11:42:09 -07:00
Matt Brubeck
b4b828260c Set the OPENSSL_STATIC env var for Android builds
Required by the latest version of the openssl-sys build script. Fixes #5145.
2015-04-21 17:22:21 -07:00
Dhananjay Nakrani
73832175f4 Add Desktop Notifications for Long builds. Supported for Linux & Windows platforms.
Incorporate suggestions from Code review. Change function name to lower case.
2015-04-15 12:29:02 -07:00
Ms2ger
5f15eb5fbf Upgrade rustc to d3c49d2140fc65e8bb7d7cf25bfe74dda6ce5ecf/rustc-1.0.0-dev. 2015-03-18 13:18:31 -04:00
Manish Goregaokar
5b3868089e Add ./mach build-gonk command 2015-02-21 09:42:47 +05:30
awlnx
1e8cc99ff3 Fixes #4898. 2015-02-13 00:38:26 -05:00
Maciej Skrzypkowski
9befde7be5 Added "-j" flag usage for building OpenSSL for android. 2015-02-02 12:23:55 +01:00
Glenn Watson
f495884dcb Remove the glfw port (it doesn't compile since last rustup anyway). 2015-02-02 10:38:12 +10:00
Josh Matthews
95fc29fa0d Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. 2015-01-28 10:16:49 +10:00
Glenn Watson
0f525d908d Change glutin headless mode to be a build config, as it breaks some Linux distros linking to both.
The majority of this change is simply re-arranging the code in the glutin port
so that the windowed/headless code is configured at build time rather
than runtime. There shouldn't be any functional difference as a result of this change.
2015-01-23 06:09:25 +10:00
Glenn Watson
6dd12855ac Android doesn't need to explicitly specify glutin now. 2015-01-20 07:53:47 +10:00
Glenn Watson
7818576213 Update android openssl version due to security advisory https://www.openssl.org/news/secadv_20150108.txt 2015-01-09 07:40:17 +10:00
Simon Sapin
32c721e640 Have 'mach build' pass arbitrary arguments to Cargo.
Duplicating all of Cargo’s argument parsing in mach is silly.
2014-12-18 11:15:42 +00:00
Glenn Watson
9d192de63d Switch android to glutin. 2014-12-12 08:13:04 +10:00
Patrick Walton
8b2aadc30b ports/cef: Implement accelerated compositing for the CEF port. 2014-12-10 08:35:47 -08:00
Glenn Watson
030dab553e Use mach to build openssl on android instead of glut makefile.
The glut makefile will be removed shortly after glutin lands
for android, so we need to build openssl for android elsewhere
in the build process.
2014-12-09 08:20:36 +10:00
Glenn Watson
b12311ada5 Fix path for CEF build. 2014-12-08 07:36:56 +10:00
Simon Sapin
cc4ea7507f Make build system more independent of current directory. 2014-12-02 18:04:06 -08:00
Simon Sapin
2f413c8937 Move the servo crate from root to components/servo 2014-12-02 18:03:39 -08:00
Matthew Rasmus
d300469bbd Adds --release flag to ./mach build-cef
Requested by kmc in IRC.

```
11:36 < kmc> while you're mach-ing about, can you modify build-cef to
accept --release like build does?
```
2014-11-23 11:44:53 -08:00
Fabrice Desré
8eb4844174 Issue #3804 : Allow enabling debug-mozjs from servobuild config 2014-11-06 22:47:02 -08:00
Josh Matthews
a1b2f4b590 Add an optional --debug-mozjs argument to mach build that enables a non-optimized, debug build of mozjs and rust-mozjs. Update the Cargo snapshot to enable new feature support. 2014-10-24 16:18:25 -04:00
Matt Brubeck
77d32ee447 Move windowing code out of the compositor
This is mainly just moving code around, in preparation for further changes to
the "windowing" API.
2014-10-10 11:36:12 -07:00
Matt Brubeck
b736256d53 Add Android build config to mach/servobuild 2014-10-03 14:29:54 -07:00
Jack Moffitt
f93dd447b1 Add --verbose to build-cef command 2014-10-02 11:32:00 -06:00
Simon Sapin
cd45258bf3 Fix /python/servo code formatting.
(My editor screams at me for flake8 lint errors.)
2014-09-26 23:12:51 +01:00
Matt Brubeck
e69fbc22de Don't throw on non-zero exit in mach commands
Fixes #3344.
2014-09-15 08:32:46 -07:00
Tetsuharu OHZEKI
8bed778a3d Add 'mach clean'. 2014-09-13 04:39:18 +09:00
Dirk Leifeld
f2a692e0ff Add -v or --verbose to mach build 2014-09-11 18:46:18 +02:00
Matt Brubeck
965ba08c75 Pass --target option from mach to cargo 2014-09-09 14:56:51 -07:00