mirror of
https://github.com/mauiaaron/apple2.git
synced 2025-01-25 11:30:06 +00:00
faab9fa04a
- Should hopefully force recognition as a 'C' repository rather than counting all the Breakpad C++
25 lines
464 B
Bash
Executable File
25 lines
464 B
Bash
Executable File
#!/bin/sh
|
|
set -ex
|
|
|
|
get_depot_tools() {
|
|
cd
|
|
git clone https://chromium.googlesource.com/chromium/tools/depot_tools.git
|
|
PATH="$HOME/depot_tools:$PATH"
|
|
}
|
|
|
|
gclient_sync() {
|
|
# Rename the source dir to match what gclient expects.
|
|
srcdir=$(basename "$TRAVIS_BUILD_DIR")
|
|
cd "${TRAVIS_BUILD_DIR}"/..
|
|
mv "${srcdir}" src
|
|
gclient config --unmanaged https://github.com/google/breakpad.git
|
|
gclient sync
|
|
}
|
|
|
|
main() {
|
|
get_depot_tools
|
|
gclient_sync
|
|
}
|
|
|
|
main "$@"
|