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
Bobby Holley
840df61ba3
Implement a geckolib target.
2016-01-09 12:37:56 -08:00
Brandon Fairchild
d1c2e79c89
Add clippy
as a command to mach
...
This gives mach the ability to run clippy with `./mach clippy`.
Fixes #8134 .
2015-10-21 19:21:20 -04:00
wilmoz
adbc6d045b
Add a mach command to upgrade wptrunner
2015-09-02 12:29:56 -05:00
Dhananjay Nakrani
ecd7c8b034
Exclude minified js files and tests/jquery from 'mach grep'.
2015-08-26 11:09:13 -07: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
r0e
3e10adfa01
corrected help text for cargo-update
2015-05-19 11:16:05 -07:00
r0e
b1f5fb0a6d
forces user to update cargo packages individually
2015-05-18 17:28:15 -07:00
Dhananjay Nakrani
bed9fc101b
Add more directories into './mach grep' command.
2015-04-25 10:47:41 -07:00