still wip
This commit is contained in:
5
Makefile
5
Makefile
@@ -3,10 +3,10 @@ PINLIST_DIR := $(IPFS_ROOT)/pinlist
|
||||
|
||||
default: deploy
|
||||
|
||||
.PHONY: deploy
|
||||
.PHONY: deploy clean
|
||||
|
||||
clean:
|
||||
rm -f pinlist.txt
|
||||
rm -f pinlist.txt pinlist.new
|
||||
|
||||
deploy: pinlist.txt
|
||||
mkdir -p $(PINLIST_DIR)
|
||||
@@ -17,7 +17,6 @@ deploy: pinlist.txt
|
||||
awk -F' ' '{print $$2}' | \
|
||||
ipfs name publish
|
||||
|
||||
|
||||
pinlist.txt: pins/*.json
|
||||
jq -r .pins[] $^ > pinlist.new && mv pinlist.new $@.tmp
|
||||
echo "# timestamp=$$(date -u +%s)" >> $@.tmp
|
||||
|
||||
Reference in New Issue
Block a user