This repository has been archived by the owner on Aug 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
the Rube Goldberg machine for testing HTTP RPC wire format change end-to-end
- Loading branch information
Showing
3 changed files
with
24 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#!/bin/bash | ||
|
||
set -xeo pipefail | ||
|
||
# this script sets up the Rube Goldberg machine for testing HTTP RPC wire format change end-to-end | ||
# context: | ||
# - https://github.com/ipfs/go-ipfs/pull/8183 | ||
# - https://github.com/ipfs/js-ipfs/pull/3922 | ||
|
||
|
||
rm -rf node_modules .tmp | ||
mkdir .tmp | ||
cd .tmp | ||
git clone -b feat/pubsub-require-multibase https://github.com/ipfs/js-ipfs.git | ||
cd js-ipfs | ||
npm install | ||
npm run build | ||
npm run link | ||
cd ../.. | ||
# make sure npm uses js-ipfs libs from feat/pubsub-require-multibase branch | ||
npx connect-deps link .tmp/js-ipfs/packages/ipfs .tmp/js-ipfs/packages/ipfs-http-client --connect |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters