mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
Update web-platform-tests to revision 3678c44dfe811f93a796285e9531ee34d7d15682
This commit is contained in:
parent
6fbf2c1e3c
commit
b3ccbe1a35
27 changed files with 808 additions and 100 deletions
|
@ -2,11 +2,11 @@
|
|||
set -ex
|
||||
|
||||
SCRIPT_DIR=$(dirname $(readlink -f "$0"))
|
||||
WPT_ROOT=$(readlink -f $SCRIPT_DIR/../..)
|
||||
WPT_ROOT=$(readlink -f $SCRIPT_DIR/..)
|
||||
cd $WPT_ROOT
|
||||
|
||||
main() {
|
||||
cd css
|
||||
cd $WPT_ROOT/css
|
||||
|
||||
if [ -z $VENV ]; then
|
||||
VENV=tools/_virtualenv
|
||||
|
@ -41,17 +41,14 @@ main() {
|
|||
# Install dependencies
|
||||
$VENV/bin/pip install -r requirements.txt
|
||||
|
||||
# Fetch hg submodules if they're not there
|
||||
if [ ! -d tools/apiclient ]; then
|
||||
$VENV/bin/hg clone https://hg.csswg.org/dev/apiclient tools/apiclient
|
||||
fi
|
||||
|
||||
if [ ! -d tools/w3ctestlib ]; then
|
||||
$VENV/bin/hg clone https://hg.csswg.org/dev/w3ctestlib tools/w3ctestlib
|
||||
# Error if submodules are not there
|
||||
if [ ! -d tools/apiclient -o ! -d tools/w3ctestlib ]; then
|
||||
echo 'Please run `git submodule update --init --recursive`'
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Run the build script
|
||||
$VENV/bin/python tools/build.py "$@"
|
||||
}
|
||||
|
||||
main
|
||||
main "$@"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue