aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Makefile
diff options
context:
space:
mode:
authorEgor Tensin <egor@tensin.name>2026-09-14 17:15:50 +0500
committerEgor Tensin <egor@tensin.name>2026-09-14 17:18:31 +0500
commit6934a96915ea3f0c587d7755acb44e693711020b (patch)
treecb7672038f397678d07e3ea4597ba56c0591ddfd /Makefile
parentbump dependencies (diff)
downloadblog-6934a96915ea3f0c587d7755acb44e693711020b.tar.gz
blog-6934a96915ea3f0c587d7755acb44e693711020b.zip
Makefile: move out maintenance stuff into a separate script
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile18
1 files changed, 1 insertions, 17 deletions
diff --git a/Makefile b/Makefile
index 83b4bd6..9b0e8ba 100644
--- a/Makefile
+++ b/Makefile
@@ -19,23 +19,7 @@ deps: ruby
.PHONY: maintenance
maintenance: ruby
- bundle config set frozen false
- bundle update
-
- @git_status="$$( git status --porcelain=v1 )" && \
- if [ -z "$$git_status" ]; then \
- true; \
- elif [ "$$git_status" = ' M Gemfile.lock' ]; then \
- git commit -am 'bump dependencies' && \
- git push -q; \
- else \
- echo; \
- echo '-----------------------------------------------------------------'; \
- echo 'Error: unrecognized modifications in the repository:'; \
- echo "$$git_status"; \
- echo '-----------------------------------------------------------------'; \
- exit 1; \
- fi
+ ./scripts/maintenance.sh
jekyll := bundle exec jekyll