justfile 673 B

123456789101112131415161718192021222324252627282930313233343536
  1. TAILWIND_CSS_VERSION := "2.1.1"
  2. @_default:
  3. just --list
  4. @alex:
  5. npx alex README.md
  6. @build:
  7. just toc
  8. bundle exec jekyll build
  9. @lint:
  10. -curlylint _layouts/
  11. -npx awesome-lint README.md
  12. @serve:
  13. modd --file=modd.conf
  14. bundle exec jekyll serve --drafts --watch --port 8000
  15. @static:
  16. JEKYLL_ENV=production \
  17. npx -p tailwindcss@{{TAILWIND_CSS_VERSION}} tailwindcss build \
  18. ./src/style.css \
  19. --config ./tailwind.config.js \
  20. --output ./assets/style.css
  21. npx -p tailwindcss@{{TAILWIND_CSS_VERSION}} tailwindcss build \
  22. ./src/style.css \
  23. --config ./tailwind.config.js \
  24. --output ./assets/development.css \
  25. -w
  26. @toc:
  27. npx doctoc README.md