mirror of
https://github.com/wsvincent/awesome-django.git
synced 2024-11-30 15:31:09 +00:00
33 lines
610 B
Makefile
33 lines
610 B
Makefile
TAILWIND_CSS_VERSION := 1.8.10
|
|
|
|
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
|