From 47450073ea6fddd233805674a61dabd6870ed885 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Mon, 14 Sep 2026 17:37:13 +0500 Subject: Makefile: move out maintenance stuff into a separate script --- Makefile | 18 +----------------- 1 file changed, 1 insertion(+), 17 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 81249f5..179d918 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 -- cgit v1.3