Simon Sapin
7c85dc09b5
Share more ./mach build
logic with mach check, doc, test-unit
...
Fixes #23659
2019-07-02 18:29:24 +02:00
Simon Sapin
d9dbcd52c3
Remove ./mach cargo
.
...
Not all cargo subcommands take `--manifest-path`.
Use plain `cargo` instead (rustup reads the `rust-toolchain` file)
or consider adding new mach sub-commands.
2019-07-01 19:04:35 +02:00
Shanavas M
1bc8f23232
Fix certifi import error while running ./match bootstrap
...
Fixes #22590
2019-01-03 14:41:54 +05:30
Pyfisch
bf47f90da6
Run rustfmt on test-tidy
...
Add ./mach fmt command.
Mach installs rustfmt if needed.
2018-11-06 22:28:29 +01:00
Paul Rouget
6d543dec28
com.mozilla to org.mozilla
2018-10-02 08:09:35 +02:00
bors-servo
0964d055cd
Auto merge of #21809 - servo:features, r=SimonSapin
...
Only build ports/servo by default (except Android), add `./mach build --libsimpleservo`
Fixes #21314
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21809 )
<!-- Reviewable:end -->
2018-09-27 13:35:09 -04:00
Simon Sapin
deeb79669f
Only add --manifest-path if not already present
2018-09-26 08:18:58 +02:00
Simon Sapin
39079cff8b
Only build ports/servo by default (except Android), add ./mach build --libsimpleservo
...
Fixes #21314
2018-09-25 19:21:59 +02:00
Josh Matthews
4fe41c69d3
Add mach command to setup remote debugging on Android devices.
2018-09-25 12:14:18 -04:00
Josh Matthews
a19cedfddc
Make ndk-stack mach command support x86 builds.
2018-09-05 12:52:50 -04:00
josh
936ec085fd
Remove trailing whitespace in devenv_commands
2018-08-10 13:47:01 -04:00
Josh Brudnak
230f025bc7
Merge branch 'master' into master
2018-08-10 13:11:23 -04:00
JoshBrudnak
fc0a86c038
Add rustfmt command to devenv commands
2018-08-09 17:26:04 -04:00
Josh Matthews
ef66205436
mach: Add ndk-stack command for android crash logs.
2018-08-08 15:34:40 -04:00
Emilio Cobos Álvarez
a440a0bdaf
Remove geckolib-related build commands.
2018-05-17 11:24:59 -05:00
Simon Sapin
365a139716
Use rustup.rs instead of custom bootstrap
...
Fixes #11361 , closes #18874
2018-01-10 18:05:44 +01:00
Emilio Cobos Álvarez
5dfa144c5d
mach: Remove redundant with(crate_dir).
2017-12-13 22:03:27 +01:00
Emilio Cobos Álvarez
f2314c10ca
mach: Fix cargo-geckolib check / cargo-geckolib build after #19476 .
2017-12-10 01:06:19 +01:00
Simon Sapin
1f2b66e2d7
Use workspace.default-members to specify default crates for 'cargo build'
...
… and 'cargo test', etc. Include Servo and its unit tests,
but not Stylo because that would try to compile the style
crate with incompatible feature flags:
https://github.com/rust-lang/cargo/issues/4463
`workspace.default-members` was added in
https://github.com/rust-lang/cargo/pull/4743 .
Older Cargo versions ignore it.
2017-12-07 13:50:10 +01:00
Simon Sapin
404c722920
Only pass cafile argument to urlopen in Python versions that support it.
2017-10-19 19:56:18 +02:00
Simon Sapin
664f2829a9
Bootstrap from official static.rust-lang.org when SNI is available
2017-10-18 22:50:20 +02:00
Simon Sapin
8ee51bd921
Fix './mach check' to build ports/servo, not components/servo
2017-10-12 12:10:58 +02:00
Josh Matthews
ca340eca39
Use upstream wptrunner from web-platform-tests.
2017-10-05 00:43:03 +02:00
Simon Sapin
052a8b500a
'./mach rustup': Use alternate S3 URL that doesn’t require SNI
...
… to hopefully fix https://travis-ci.org/servo/servo-with-rust-nightly/ builds.
2017-09-12 11:42:12 +02:00
Simon Sapin
56b4f3ae70
Switch back to pinning Rust by Nightly date instead of commit hash…
...
… this time using a `rust-toolchain` file compatible with rustup:
https://github.com/rust-lang-nursery/rustup.rs/#the-toolchain-file
And upgrade to rustc 1.21.0-nightly (c11f689d2 2017-08-29)
----
Now if both `system-rust` and `system-cargo` are set to `true` in `.servobuild`’s `[tools]` section,
and the corresponding `rustc` and `cargo` binaries are in fact rustup’s wrappers,
then rustup will use the correct version based on `rust-toolchain`.
CC https://github.com/servo/servo/issues/11361
Unlike https://github.com/servo/servo/pull/17927 ,
this does not make mach use rustup directly.
2017-08-31 14:30:28 +02:00
Simon Sapin
d0a2f7bcbe
Fix bootstrapping during mach rustup
without system cargo
...
https://travis-ci.org/servo/servo-with-rust-nightly/builds/255611949#L989
2017-07-21 13:57:07 +02:00
Simon Sapin
8303f5b926
Update to cargo 0.21.0-nightly (eb6cf012a 2017-07-02)
...
Cargo binaries are now produced on Rust’s CI, not Cargo’s.
Remove cargo-commit-hash and find Cargo based on rust-commit-hash.
2017-07-19 00:56:30 +02:00
Simon Sapin
f693582ba9
Add 'mach check' and 'mach check-geckolib'
2017-05-13 15:28:41 +02:00
Simon Sapin
51f33d0a62
Make ./mach rustup
use the latest nightly rather than master.
...
This will help avoid situation where we upgrade Servo and dependencies
for a Rust breaking change that hasn’t reach Nightly yet.
The old behavior is still available with `./mach rustup --master`.
2017-05-13 12:01:05 +02:00
Simon Sapin
574b155cf6
Add ./mach cargoup
2017-04-25 12:28:08 +02:00
Simon Sapin
84558ff23f
Add ./mach rustup
2017-04-24 00:34:46 +02:00
UK992
cb80bda808
Add --dry-run
argument to mach cargo-update
2017-04-11 23:55:02 +02:00
Simon Sapin
9f5ba0aee9
Make ./mach rustc
and ./mach cargo
bootstrap.
2017-04-05 21:52:10 +02:00
Simon Sapin
ca08ff876b
Add cargo-geckolib and rustc-geckolib commands to mach.
2017-04-05 21:50:44 +02:00
Anthony Ramine
63c4490e73
Kill the plugins crate and its clippy support
...
Sometimes clippy gets outdated by months, and its current support setup
means that each Servo component need to opt into it by depending on
the plugins crate manually, and not all components do that.
2017-02-21 11:50:36 +01:00
Anthony Ramine
dfb35db6d3
Move to Cargo workspaces
2016-11-28 09:44:20 +01:00
Dzmitry Malyshau
f43c28535b
Updated cargo paths for the python script
...
Related to #14172
Needed this for `./mach cargo-update -p webrender` to work properly when replacing with a local copy
2016-11-17 15:18:23 -05:00
Corey Farwell
04df787299
Fix ./mach clippy
.
...
Fixes https://github.com/servo/servo/issues/13117 .
2016-11-08 09:28:30 -05:00
bors-servo
80447a79c4
Auto merge of #13614 - jdm:wptrunnerup3, r=Ms2ger
...
Upgrade wptrunner
This gets us back to a pristine local copy and allows us to start experimenting with webdriver tests.
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg " height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/13614 )
<!-- Reviewable:end -->
2016-10-18 08:15:11 -05:00
Shing Lyu
0cab0501f4
Restore the layout trace viewer
2016-10-17 10:58:52 +08:00
Josh Matthews
a2bc9d7775
Avoid #12321 by creating environment before switching directories.
2016-10-06 07:45:43 -04:00
Josh Matthews
906b7b33ef
Rename mach command to upgrade wptrunner and make it work more than once.
2016-10-06 07:45:43 -04:00
Guillaume Gomez
eb27bcff7e
Ensure cargo is up to date before running update crate command
2016-10-01 13:38:45 +02:00
UK992
d805e855a9
Create mach fetch
command
2016-08-12 16:13:39 +02:00
Manish Goregaokar
3ead9cc67b
Improve mach clippy, add plugins to style/util
2016-07-12 19:59:58 +05:30
Lars Bergstrom
02c7e06d54
Remove the gonk port
2016-05-27 19:33:43 -05:00
Ms2ger
92d8f5c552
Improve mach wpt-upgrade.
2016-04-20 16:06:17 +02:00
Per Lundberg
6653c26c90
Added warning for update-cargo -a
...
To quote Lars Bergstrom:
> yeah, that's a giant footgun :-)
2016-04-14 22:57:03 +03:00
Jason Williams
13d98f153a
adding check for windows then using Scripts instead of bin
2016-01-22 19:27:29 -06:00
Vladimir Vukicevic
ee863fde59
win32: mach and build command fixes
...
- Add SERVO_USE_NIGHTLY_RUST env var to use the latest rust/cargo nightly snapshot
- Fix up looking for cargo binary (in cargo/bin/cargo, not bin/cargo)
- Fix up win32 executable checking (use .exe suffix)
- fix up win32 PATH handling (subprocess must use shell=True for PATH change to be honored)
2016-01-20 08:38:24 -06:00