Skip to content

Commit

Permalink
Ignore win32/file.o on update-deps
Browse files Browse the repository at this point in the history
  • Loading branch information
k0kubun committed Jul 20, 2023
1 parent a712774 commit 1129488
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions tool/update-deps
Expand Up @@ -167,6 +167,12 @@ FILES_SAME_NAME_TOP = %w[
version.h
]

# Files that may or may not exist on CI for some reason.
# They are probably missing dependencies.
UNSTABLE_FILES = %w[
win32/file.o
]

# Other source files exist in the source directory.

def in_makefile(target, source)
Expand Down Expand Up @@ -230,6 +236,8 @@ def in_makefile(target, source)
else source2 = "$(top_srcdir)/#{source}"
end
["#{File.dirname(target)}/depend", target2, source2]
when UNSTABLE_FILES
warn "warning: ignoring: #{target}"
else
raise "unexpected target: #{target}"
end
Expand Down

2 comments on commit 1129488

@XrXr
Copy link
Member

@XrXr XrXr commented on 1129488 Jul 20, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It failed again on this commit. Maybe missing a *?
https://github.com/ruby/ruby/actions/runs/5614916483/job/15214072752

@k0kubun
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, you're right. Fixed it in b71f79d.

Please sign in to comment.