Commit graph

19 commits

Author SHA1 Message Date
Delan Azabani
048ca7806b
mach: fix exit status on NixOS (#30079) 2023-08-08 09:09:27 +00:00
David Heidelberg
aa0484d76b
mach: cleanup after dropping Python 2 support
Signed-off-by: David Heidelberg <david@ixit.cz>
2021-07-19 14:24:29 +02:00
Maciej Krüger
49fc87f385
extend message about nixOS shell 2021-06-21 09:13:47 +02:00
Maciej Krüger
8e48b6fd74
add NixOS support to mach and automatically re-launch mach in nix-shell 2021-06-04 10:56:41 +02:00
Vincent Ricard
a627dde0d0 Port some code to Python3 2021-02-18 09:35:46 -05:00
Kagami Sascha Rosylight
bb1d3193e5 Don't run multiprocessing hack on Python 3 2020-06-20 16:16:51 +02:00
marmeladema
67c2c115c0 Allow to run mach with Python3 (>=3.5) 2019-12-09 19:31:46 +00:00
Bastien Orivel
7f5e6db63d Check for python's version in mach
On archlinux, python 2 isn't installed by default and it leads to some
really confusing error messages when running mach
2019-06-03 22:02:52 +02:00
Jan Andre Ikenmeyer
f5ab95786f
Update MPL license to https (part 1) 2018-11-19 14:46:43 +01:00
Manish Goregaokar
e72e08ea9c Allow bootstrap to be run before anything else is installed 2018-09-11 19:34:38 +05:30
Josh Matthews
64cbf02084 Revert "build(mach): locate vs via vswhere on win32"
This reverts commit c20efd5e9a.
2018-08-20 12:58:59 -04:00
OJ Kwon
c20efd5e9a
build(mach): locate vs via vswhere on win32 2018-06-20 11:30:58 -07:00
Ravi Shankar
c8e43958ad Disable bytecode generation in mach 2017-04-10 23:09:07 +05:30
Jack Moffitt
8e8519d038 Fix test-wpt and test-css for Windows.
In addition to minor changes for Windows, this forces Windows Python to
be used for all Windows builds (instead of using Windows Python only for
pc-windows-msvc builds).
2016-11-16 10:38:15 -07:00
Ravi Shankar
b579841183 Minor cleanup of mach and bootstrap script 2016-09-01 17:25:36 +05:30
Vladimir Vukicevic
5bbec7469d Native MSVC windows build, convert to cmake 2016-08-17 09:50:51 -04:00
Per Lundberg
347b7bb51d Redirect stderr to /dev/null
We already redirect stdout, but the problem is that (at least on Windows/MSYS2), the `which` command tends to output things to stderr when failing:

```
$ ./mach  build -d
which: no python2.7 in (/usr/local/bin:/usr/bin:/bin:/opt/bin:/c/Windows/System32:/c/Windows:/c/Windows/System32/Wbem:/c/Windows/System32/WindowsPowerShell/v1.0/:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/c/Program Files/Java/jdk1.8.0_66/bin:/c/Python27:/c/Python27/Scripts)
```

This PR silences this noise.
2016-05-25 00:28:06 +03:00
Aidan Hobson Sayers
078d21b6e2 Minor style tweak 2015-09-14 20:55:23 +01:00
Jack Moffitt
c6ab60dbfc Cargoify servo 2014-09-08 20:21:42 -06:00