Optimize template and development
This commit is contained in:
parent
3815773c05
commit
e3638d0316
2 changed files with 23 additions and 9 deletions
8
Makefile
8
Makefile
|
@ -33,6 +33,14 @@ server:
|
|||
lektor server $(LEKTOR_SERVER_FLAGS) $(LEKTOR_PLUGIN_FLAGS)
|
||||
fi
|
||||
|
||||
dev:
|
||||
lektor clean --yes
|
||||
if python3 -m lektor --version 2>/dev/null; then
|
||||
python3 -m lektor server $(LEKTOR_SERVER_FLAGS) $(LEKTOR_PLUGIN_FLAGS)
|
||||
else
|
||||
lektor server $(LEKTOR_SERVER_FLAGS) $(LEKTOR_PLUGIN_FLAGS)
|
||||
fi
|
||||
|
||||
deploy:
|
||||
lektor clean --yes
|
||||
lektor plugin flush-cache
|
||||
|
|
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Loading…
Reference in a new issue