You've already forked matrix-react-sdk
mirror of
https://github.com/matrix-org/matrix-react-sdk.git
synced 2025-07-30 02:21:17 +03:00
Remove directories if they exist
This commit is contained in:
@ -12,6 +12,7 @@ set -x
|
|||||||
npm install
|
npm install
|
||||||
|
|
||||||
scripts/fetchdep.sh matrix-org matrix-js-sdk
|
scripts/fetchdep.sh matrix-org matrix-js-sdk
|
||||||
|
rm -r node_modules/matrix-js-sdk || true
|
||||||
ln -s ../matrix-js-sdk node_modules/matrix-js-sdk
|
ln -s ../matrix-js-sdk node_modules/matrix-js-sdk
|
||||||
(cd matrix-js-sdk && npm install)
|
(cd matrix-js-sdk && npm install)
|
||||||
|
|
||||||
|
@ -5,6 +5,8 @@ set -e
|
|||||||
org="$1"
|
org="$1"
|
||||||
repo="$2"
|
repo="$2"
|
||||||
|
|
||||||
|
rm -r "$repo" || true
|
||||||
|
|
||||||
curbranch="$TRAVIS_PULL_REQUEST_BRANCH"
|
curbranch="$TRAVIS_PULL_REQUEST_BRANCH"
|
||||||
[ -z "$curbranch" ] && curbranch="$TRAVIS_BRANCH"
|
[ -z "$curbranch" ] && curbranch="$TRAVIS_BRANCH"
|
||||||
[ -z "$curbranch" ] && curbranch=`"echo $GIT_BRANCH" | sed -e 's/^origin\///'` # jenkins
|
[ -z "$curbranch" ] && curbranch=`"echo $GIT_BRANCH" | sed -e 's/^origin\///'` # jenkins
|
||||||
|
Reference in New Issue
Block a user