mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-01 08:56:08 +08:00
This is useful when the npm-bundle-deps server isn't running, when the tar never gets served (there's a default timeout on the request), or when the served file isn't a valid tar.
10 lines
195 B
Bash
Executable File
10 lines
195 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
# normalize the working dir to the directory of the script
|
|
cd $(dirname $0);
|
|
|
|
cd ../..
|
|
curl "http://23.251.148.50:8000/tar/$TRAVIS_REPO_SLUG/$TRAVIS_COMMIT" | tar xz || true
|