mirror of
https://github.com/wsvincent/awesome-django.git
synced 2024-11-24 04:21:10 +00:00
c67a1b8324
Fixes #100
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 4000
|
|
|
|
.PHONY: toc
|
|
toc:
|
|
@npx doctoc README.md
|