зеркало из https://github.com/github/ruby.git
Use `empty` instead of NOOP in mk file to make it safer
This would avoid unintentional use of the `NOOP` environment variable Co-authored-by: Nobuyoshi Nakada <nobu@ruby-lang.org>
This commit is contained in:
Родитель
d1f0d1ca2e
Коммит
01be881f35
|
@ -362,7 +362,7 @@ spec/bundler: test-bundler-parallel
|
|||
|
||||
# workaround to avoid matching non ruby files with "spec/%/" under GNU make 3.81
|
||||
spec/%_spec.c spec/%_spec.bundle:
|
||||
$(NOOP)
|
||||
$(empty)
|
||||
|
||||
spec/%/ spec/%_spec.rb: programs exts PHONY
|
||||
+$(RUNRUBY) -r./$(arch)-fake $(srcdir)/spec/mspec/bin/mspec-run -B $(srcdir)/spec/default.mspec $(SPECOPTS) $(patsubst %,$(srcdir)/%,$@)
|
||||
|
|
Загрузка…
Ссылка в новой задаче