awesome-django/justfile

35 lines
647 B
Makefile
Raw Normal View History

2021-04-09 02:58:10 +00:00
TAILWIND_CSS_VERSION := "2.1.1"
@_default:
just --list
@alex:
npx alex README.md
@build:
just toc
2021-04-09 03:06:32 +00:00
bundle exec jekyll build
2021-04-09 02:58:10 +00:00
@lint:
npx awesome-lint README.md
2021-04-09 03:16:46 +00:00
2021-04-09 03:06:32 +00:00
@serve:
modd --file=modd.conf
bundle exec jekyll serve --drafts --watch --port 8000
2021-04-09 02:58:10 +00:00
@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 \
-w
@toc:
npx doctoc README.md