forked from varia/varia.website
Luke Murphy
4 years ago
2 changed files with 18 additions and 20 deletions
@ -0,0 +1,15 @@ |
|||||
|
default: run |
||||
|
|
||||
|
core-plugins: |
||||
|
@if [ ! -d "pelican-plugins" ]; then git clone https://github.com/getpelican/pelican-plugins; fi |
||||
|
|
||||
|
custom-plugins: |
||||
|
@if [ ! -d "plugins-custom" ]; then git clone https://git.vvvvvvaria.org/varia/plugins-custom; fi |
||||
|
|
||||
|
dependencies: |
||||
|
@if [ ! -d ".venv" ]; then python3 -m venv .venv && .venv/bin/pip install -r requirements.txt; fi |
||||
|
|
||||
|
run: core-plugins custom-plugins dependencies |
||||
|
@.venv/bin/pelican --autoreload |
||||
|
|
||||
|
.PHONY: core-plugins custom-plugins dependencies run |
Loading…
Reference in new issue