pantry/projects/ipfs.tech/package.yml

29 lines
722 B
YAML
Raw Normal View History

2022-10-18 17:02:17 +03:00
distributable:
url: https://github.com/ipfs/kubo/releases/download/v{{version}}/kubo-source.tar.gz
checksum: https://github.com/ipfs/kubo/releases/download/v{{version}}/kubo-source.tar.gz.sha512
cid: https://github.com/ipfs/kubo/releases/download/v{{version}}/kubo-source.tar.gz.cid
strip-components: 1
versions:
github: ipfs/kubo
build:
dependencies:
tea.xyz/gx/make: '*'
go.dev: 1
script: |
make build
2022-10-21 04:36:57 +03:00
mkdir -p {{prefix}}/bin
2022-10-18 17:02:17 +03:00
mv cmd/ipfs/ipfs {{prefix}}/bin
test:
2022-10-21 04:36:57 +03:00
script:
ipfs init
env:
2022-10-21 18:09:42 +03:00
# This keeps the test from polluting the user's home directory (and causing a later,
# presumably intentional, `ipfs init` from erroring).
2022-10-21 04:36:57 +03:00
IPFS_PATH: .
2022-12-05 22:10:34 +03:00
provides:
- bin/ipfs