Skip to content

Commit

Permalink
chore: make clean and docker cleanup
Browse files Browse the repository at this point in the history
- adds 'make clean' that removes artifacts
- improves ux when working with docker, especially when image is missing
- 'make' only builds the binary, kubo logic needs to be explicitly
  called
  • Loading branch information
lidel authored and laurentsenta committed Jul 27, 2023
1 parent c8a6a38 commit 2e4ded2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ provision-cargateway: ./fixtures.car

provision-kubo:
find ./fixtures -name '*.car' -exec ipfs dag import --stats --pin-roots=false {} \;
find ./fixtures -name '*.ipns-record' -exec sh -c 'ipfs routing put --allow-offline /ipns/$$(basename -s .ipns-record "{}") "{}"' \;
find ./fixtures -name '*.ipns-record' -exec sh -c 'ipfs routing put --offline --allow-offline /ipns/$$(basename -s .ipns-record "{}") "{}"' \;

# tools
fixtures.car: gateway-conformance
Expand Down

0 comments on commit 2e4ded2

Please sign in to comment.