Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[wip] Add go-ipfs 0.7.0 #13904

Closed
wants to merge 12 commits into from
Prev Previous commit
Next Next commit
invoke test script more explicitly
  • Loading branch information
bollwyvl committed Feb 6, 2021
commit f2dfeb752aca2f75de3510f29df68df4e961b027
2 changes: 1 addition & 1 deletion recipes/go-ipfs/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ test:
- posix # [win]
commands:
- ipfs --version
- bash test_ipfs.sh
- bash -lc "./test_ipfs.sh"

about:
home: https://ipfs.io
Expand Down
3 changes: 3 additions & 0 deletions recipes/go-ipfs/test_ipfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@
set -eux
export IPFS_PATH=$(pwd)/.ipfs-repo

echo "does it init"
ipfs init
ls -lathr $IPFS_PATH

echo "does it fetch"
ipfs cat /ipfs/QmQPeNsJPyVWPFDVHb77w8G42Fvo15z4bG2X8D2GhfbSXc/readme | tee readme
cat readme | grep Hello

echo "does it add"
ipfs add readme