diff options
| author | Egor Tensin <egor@tensin.name> | 2026-09-14 17:37:13 +0500 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-09-14 17:37:13 +0500 |
| commit | 47450073ea6fddd233805674a61dabd6870ed885 (patch) | |
| tree | d473a773c1446a65ec6905dbcfe4bc4f36ea4191 /Makefile | |
| parent | bump dependencies (diff) | |
| download | sorting-algorithms-47450073ea6fddd233805674a61dabd6870ed885.tar.gz sorting-algorithms-47450073ea6fddd233805674a61dabd6870ed885.zip | |
Makefile: move out maintenance stuff into a separate script
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 18 |
1 files changed, 1 insertions, 17 deletions
@@ -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 |
