git

My personal website source code
Log | Files | Refs | Submodules | README | LICENSE

commit ce42d56372ff7ddb3e5391b5ad9586a72e322a07
parent dcb01f2321dbef2b3c88438ccc6eff03d7d18810
Author: Luís Ferreira <[email protected]>
Date:   Thu, 30 Sep 2021 17:53:29 +0100

make: refactor some existing targets and add target to pack CAR files

Signed-off-by: Luís Ferreira <[email protected]>

Diffstat:
MMakefile | 14+++++++++++++-
1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/Makefile b/Makefile @@ -1,6 +1,11 @@ build: build-static build-hugo postscript-build serve: build-static serve-hugo +clean: + rm -rf public/ + +full: clean build + build-static: git submodule update --init --recursive ./static/generate.sh @@ -14,5 +19,12 @@ postscript-build: serve-hugo: hugo server -publish: +publish-ipfs: build ipfs-pin-public + +ipfs-pin-public: ipfs add --nocopy --fscache --raw-leaves --pin -r public/ + +pack-car: build npx-ipfs-car-public + +npx-ipfs-car-public: + npx ipfs-car --pack public/ --output public.car