2024-12-20 04:48:04 -05:00
|
|
|
args :=
|
|
|
|
|
|
|
|
default: clean start
|
|
|
|
|
|
|
|
start:
|
|
|
|
docker compose up -d
|
|
|
|
|
|
|
|
rebuild:
|
|
|
|
docker compose up -d --build
|
|
|
|
|
|
|
|
stop:
|
|
|
|
docker compose down
|
|
|
|
|
|
|
|
clean:
|
2024-12-21 12:08:08 -05:00
|
|
|
\rm -rf .jekyll-cache .saas-cache _site _capsule
|
2024-12-20 04:48:04 -05:00
|
|
|
docker compose down -v
|
|
|
|
|
|
|
|
logs:
|
|
|
|
docker compose logs --follow --since 1m
|
|
|
|
|
2024-12-21 12:08:08 -05:00
|
|
|
build: build-jekyll build-gemini
|
|
|
|
|
|
|
|
build-gemini:
|
|
|
|
docker compose run --rm gemini
|
|
|
|
|
|
|
|
build-jekyll:
|
|
|
|
docker compose run --rm jekyll build
|
2024-12-20 04:48:04 -05:00
|
|
|
|
|
|
|
install:
|
|
|
|
docker compose run --rm --entrypoint bash jekyll -c bundle add ${args}
|
|
|
|
|
2024-12-21 12:08:08 -05:00
|
|
|
draft:
|
2024-12-20 04:48:04 -05:00
|
|
|
docker compose run --rm jekyll draft ${args}
|
|
|
|
|
2024-12-21 12:08:08 -05:00
|
|
|
publish:
|
2024-12-20 04:48:04 -05:00
|
|
|
docker compose run --rm jekyll publish ${args}
|
|
|
|
|
2024-12-21 12:08:08 -05:00
|
|
|
unpublish:
|
2024-12-20 04:48:04 -05:00
|
|
|
docker compose run --rm jekyll unpublish ${args}
|