mirror of
https://github.com/wsvincent/awesome-django.git
synced 2024-11-27 14:01:11 +00:00
33 lines
609 B
Makefile
33 lines
609 B
Makefile
TAILWIND_CSS_VERSION := 1.9.2
|
|
|
|
build: toc
|
|
|
|
.PHONY: alex
|
|
alex:
|
|
@npx alex README.md
|
|
|
|
.PHONY: lint
|
|
lint:
|
|
@npx awesome-lint README.md
|
|
|
|
.PHONY: static
|
|
static:
|
|
@JEKYLL_ENV=production \
|
|
npx -p tailwindcss@${TAILWIND_CSS_VERSION} tailwindcss build \
|
|
./src/style.css \
|
|
--config ./tailwind.config.js \
|
|
--output ./assets/style.css
|
|
|
|
@npx -p tailwindcss@${TAILWIND_CSS_VERSION} tailwindcss build \
|
|
./src/style.css \
|
|
--config ./tailwind.config.js \
|
|
--output ./assets/development.css
|
|
|
|
.PHONY: serve
|
|
serve:
|
|
@bundle exec jekyll serve --drafts --watch --port 8000
|
|
|
|
.PHONY: toc
|
|
toc:
|
|
@npx doctoc README.md
|