home.thenets.org/Makefile
2024-09-13 01:06:40 -03:00

20 lines
344 B
Makefile

CACHE_DIR = .cache
PROJECT_SRC = ./
HUGO = hugo
.PHONY: setup
setup:
git submodule update --depth 1 --recursive --remote
# - Setup postcss
npm i -D tailwindcss postcss postcss-cli autoprefixer
#npx tailwindcss init -p
npm install
.PHONY: server
server:
cd $(PROJECT_SRC) && $(HUGO) server --buildDrafts -D
clean:
rm -rf $(CACHE_DIR)/