mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
This speeds up `./mach build --dev` followed by `./mach build-cef` by a large amount, and also speeds up other build combos found in our CI.
16 lines
411 B
Bash
Executable file
16 lines
411 B
Bash
Executable file
#!/bin/bash
|
|
#
|
|
# Helper script to upload docs to doc.servo.org.
|
|
# Requires ghp-import (from pip)
|
|
# GitHub API token must be passed in environment var TOKEN
|
|
|
|
set -e
|
|
|
|
cd "$(dirname $0)/../.."
|
|
|
|
./mach doc
|
|
# etc/doc.servo.org/index.html overwrites $(mach rust-root)/doc/index.html
|
|
cp etc/doc.servo.org/* target/doc/
|
|
|
|
ghp-import -n target/doc
|
|
git push -qf https://${TOKEN}@github.com/servo/doc.servo.org.git gh-pages
|