Commit graph

28 commits

Author SHA1 Message Date
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
Dhananjay Nakrani
27943c0ea5 Add a './mach grep' command. [Issue #5838] 2015-04-25 10:06:49 -07:00
Manish Goregaokar
f4f465d1b5 Alias cargo-update to update-cargo 2015-04-21 19:47:17 +05:30
Prabhjyot Singh Sodhi
a0a5130061 ./mach cargo now cd's to servo dir if in root
Fixes #4976
2015-02-21 03:18:42 +05:30
Thomas Jespersen
9b1fd5a05f Check for no parameters when invoking cargo 2015-01-05 11:03:51 +01:00
Glenn Watson
e48619b6ec Remove glut from update-cargo command. 2014-12-12 12:02:03 +10:00
Glenn Watson
738e1643d6 Update ./mach update-cargo to include gonk Cargo.lock 2014-12-11 10:58:06 +10:00
bors-servo
1458bb4397 auto merge of #4288 : mttr/servo/mach_update_cargo_fix, r=jdm
Also fixed a bug if run with no arguments.
2014-12-08 17:03:59 -07:00
Matthew Rasmus
63d1651cb9 Updates ./mach update-cargo for new path changes
Also fixed a bug if run with no arguments.
2014-12-08 13:16:20 -08:00
Andreas Tolfsen
f716e8bbf1 Fix concatentation error on no args to ./mach rustc
Since default argument to params is None, concatenating it with a
list will raise an error.  This behaviour prevents `./mach rustc`
to be called when system-rust is defined in .servobuild.

Currently it will only work when followed by an argument, i.e.
`./mach rustc -arg`.

Testing this patch: `./mach rustc` should not raise an error.
2014-12-08 17:12:38 +00:00
Matthew Rasmus
8cb7a6842f Remove allow_all_args from mach commands 2014-11-23 16:45:40 -08:00
Matthew Rasmus
3a43abfa35 Added a mach command for cargo update
As proposed in #3736

Example usage:

``` sh
$ ./mach update-cargo -p rust-xml
.
    Updating git repository `https://github.com/netvl/rust-xml`
ports/cef
    Updating git repository `https://github.com/netvl/rust-xml`
ports/android/glut_app
    Updating git repository `https://github.com/netvl/rust-xml`
```
2014-11-19 20:55:04 -08:00
Simon Sapin
516b608a2f Add a 'mach rust-root' command. 2014-09-29 17:41:45 +01: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
Tetsuharu OHZEKI
b0cd45e2da Fix mach cargo is missing 2014-09-17 11:52:05 +09:00
Matt Brubeck
2df61655cc Add a mach rustc command 2014-09-14 11:46:18 -07:00
Matt Brubeck
0d19453290 Fix typo in 'mach cargo --help' 2014-09-09 14:57:26 -07:00
Jack Moffitt
c6ab60dbfc Cargoify servo 2014-09-08 20:21:42 -06:00