Skip to content

Commit 75a968d

Browse files
committed
Add the recipe to fix/update depend files
1 parent 3c1244a commit 75a968d

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

.github/workflows/check_dependencies.yml

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -48,11 +48,7 @@ jobs:
4848
- name: Run configure
4949
run: ./configure -C --disable-install-doc --disable-rubygems --with-gcc 'optflags=-O0' 'debugflags=-save-temps=obj -g'
5050

51-
- run: make all golf
52-
53-
- run: ./goruby -veh
54-
55-
- run: ruby tool/update-deps --fix
51+
- run: make fix-depends
5652

5753
- run: git diff --no-ext-diff --ignore-submodules --exit-code
5854

defs/gmake.mk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -505,6 +505,9 @@ update-deps:
505505
$(GIT) --git-dir=$(GIT_DIR) merge --no-edit --ff-only $(update_deps)
506506
$(GIT) --git-dir=$(GIT_DIR) branch --delete $(update_deps)
507507

508+
fix-depends check-depends: all hello
509+
$(BASERUBY) -C $(srcdir) tool/update-deps $(if $(filter fix-%,$@),--fix)
510+
508511
# order-only-prerequisites doesn't work for $(RUBYSPEC_CAPIEXT)
509512
# because the same named directory exists in the source tree.
510513
$(RUBYSPEC_CAPIEXT)/%.$(DLEXT): $(srcdir)/$(RUBYSPEC_CAPIEXT)/%.c $(RUBYSPEC_CAPIEXT_DEPS) \

0 commit comments

Comments
 (0)