Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit c9619bf

Browse files
turt2liveamotl
andauthored
Fix documentation to make yarn test work out of the box (mk II) (#7075)
* Fix documentation to make `yarn test` work out of the box Before, invoking `yarn test` croaked on a missing src/component-index.js file. In another part of the README, the missing instruction to generate this file was found. * Fix CI: Unauthenticated git protocol on port 9418 is no longer supported GitHub is deprecating the service which answered unauthenticated git protocol requests. Either it happened already, or they are running brownouts. * This is where I meant to leave that comment Co-authored-by: Andreas Motl <[email protected]>
1 parent 1ef8a2c commit c9619bf

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -158,6 +158,9 @@ cd matrix-react-sdk
158158
git checkout develop
159159
yarn link matrix-js-sdk
160160
yarn install
161+
162+
# Generate the `component-index.js` file.
163+
yarn reskindex
161164
```
162165

163166
See the [help for `yarn link`](https://classic.yarnpkg.com/docs/cli/link) for

scripts/fetchdep.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@ clone() {
1818
if [ -n "$branch" ]
1919
then
2020
echo "Trying to use $org/$repo#$branch"
21-
git clone git://github.com/$org/$repo.git $repo --branch "$branch" --depth 1 && exit 0
21+
# Disable auth prompts: https://serverfault.com/a/665959
22+
GIT_TERMINAL_PROMPT=0 git clone https://github.com/$org/$repo.git $repo --branch "$branch" --depth 1 && exit 0
2223
fi
2324
}
2425

0 commit comments

Comments
 (0)