add docs for Makefile

This commit is contained in:
Peter Tillemans 2023-09-04 16:36:37 +02:00
parent b994979092
commit c7dafb8555

View file

@ -55,3 +55,18 @@ then in the root folder:
npx tailwindcss -i ./src/input.css -o ./static/output.css --watch npx tailwindcss -i ./src/input.css -o ./static/output.css --watch
Same deal, it will monitor changes in the templates and regenerate the output.css on the fly. Same deal, it will monitor changes in the templates and regenerate the output.css on the fly.
### Makefile
I added a makefile to not have to remember the command lines :
make tailwind
starts the CSS generator
and
make air
starts the go watcher builder although I do not know why anyone wants to type the 5 extra chars.