Add the recipe to fix/update depend files

This commit is contained in:
Nobuyoshi Nakada 2025-08-01 21:42:36 +09:00
parent 3c1244ab83
commit 75a968d88a
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465
2 changed files with 4 additions and 5 deletions

View File

@ -48,11 +48,7 @@ jobs:
- name: Run configure
run: ./configure -C --disable-install-doc --disable-rubygems --with-gcc 'optflags=-O0' 'debugflags=-save-temps=obj -g'
- run: make all golf
- run: ./goruby -veh
- run: ruby tool/update-deps --fix
- run: make fix-depends
- run: git diff --no-ext-diff --ignore-submodules --exit-code

View File

@ -505,6 +505,9 @@ update-deps:
$(GIT) --git-dir=$(GIT_DIR) merge --no-edit --ff-only $(update_deps)
$(GIT) --git-dir=$(GIT_DIR) branch --delete $(update_deps)
fix-depends check-depends: all hello
$(BASERUBY) -C $(srcdir) tool/update-deps $(if $(filter fix-%,$@),--fix)
# order-only-prerequisites doesn't work for $(RUBYSPEC_CAPIEXT)
# because the same named directory exists in the source tree.
$(RUBYSPEC_CAPIEXT)/%.$(DLEXT): $(srcdir)/$(RUBYSPEC_CAPIEXT)/%.c $(RUBYSPEC_CAPIEXT_DEPS) \