From 7ea8c9f359e2c392c12874ee64867ad59229d544 Mon Sep 17 00:00:00 2001 From: humanauction Date: Fri, 24 Oct 2025 09:54:43 +0100 Subject: [PATCH] Add: fix makefile --- MAKEFILE | 41 +++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/MAKEFILE b/MAKEFILE index d6a61f8..a6f0b7b 100644 --- a/MAKEFILE +++ b/MAKEFILE @@ -4,39 +4,40 @@ .PHONY: help django migrate makemigrations collectstatic tw-dev tw-build npm-install clean help: - @echo "Available commands": - - @echo " make django" # Start Django dev server - @echo " make migrate" # Apply database migrations - @echo " make makemigrations" # Create new migrations - @echo " make collectstatic" # Collect static files - @echo " make tw-dev" # Run Tailwind watcher with PostCSS - @echo " make tw-build" # Build Tailwind CSS once (PostCSS) - @echo " make npm-install" # Install npm dependencies - @echo " make clean" # Remove pycache and static build files + @echo "Available commands": + + @echo " make help" # Show this help message + @echo " make django" # Start Django dev server + @echo " make migrate" # Apply database migrations + @echo " make makemigrations" # Create new migrations + @echo " make collectstatic" # Collect static files + @echo " make tw-dev" # Run Tailwind watcher with PostCSS + @echo " make tw-build" # Build Tailwind CSS once (PostCSS) + @echo " make npm-install" # Install npm dependencies + @echo " make clean" # Remove pycache and static build files django: - python manage.py runserver + python manage.py runserver migrate: - python manage.py migrate + python manage.py migrate makemigrations: - python manage.py makemigrations + python manage.py makemigrations collectstatic: - python manage.py collectstatic --noinput + python manage.py collectstatic --noinput tw-dev: - cd theme/static_src && npm run dev + cd theme/static_src && npm run dev tw-build: - cd theme/static_src && npm run build + cd theme/static_src && npm run build npm-install: - cd theme/static_src && npm install + cd theme/static_src && npm install clean: - find . -name "*.pyc" -delete - find . -name "__pycache__" -type d -exec rm -rf {} + - rm -rf theme/static/css/dist/* \ No newline at end of file + find . -name "*.pyc" -delete + find . -name "__pycache__" -type d -exec rm -rf {} + + rm -rf theme/static/css/dist/* \ No newline at end of file