pantry/projects/ipfs.tech/package.yml
2023-01-04 20:06:12 -05:00

30 lines
742 B
YAML

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
ignore: /-rc\d+$/
build:
dependencies:
tea.xyz/gx/make: '*'
go.dev: 1
script: |
make build
mkdir -p {{prefix}}/bin
mv cmd/ipfs/ipfs {{prefix}}/bin
test:
script:
ipfs init
env:
# This keeps the test from polluting the user's home directory (and causing a later,
# presumably intentional, `ipfs init` from erroring).
IPFS_PATH: .
provides:
- bin/ipfs