all repos — website @ c29cfaa65b9e3219a1556d872601733970d92ffa

personal website hosted at prithu.xyz, built using hugo

Makefile

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
SHELL=/bin/bash -o pipefail

default: build-hugo

build-imba:
	cd imba/note-search && \
	npm install && \
	npm run build && \
	cp -r dist/assets ../../static/ && \
	ls dist/assets/*js | xargs basename | xargs -I{} sed -i s/main.*\.js/{}/ ../../layouts/notes/list.html && \
	ls dist/assets/index*.css | xargs basename | xargs -I{} sed -i s/index.*\.css/{}/ ../../layouts/notes/list.html

build-hugo: build-imba
	hugo build