mirror of
https://github.com/git/git.git
synced 2026-10-21 12:15:25 +02:00
When running "make test" with TEST_CONTRIB_TOO=yes (which is default in macOS CI workflows), $(MAKE) -C contrib/ test is invoked. However, contrib/Makefile only invoked tests for diff-highlight and subtree, meaning git-credential-osxkeychain was never built or verified during standard CI test runs. Add a "test" target to contrib/credential/osxkeychain/Makefile that depends on building git-credential-osxkeychain. Additionally, wire up credential/osxkeychain in contrib/Makefile under "all", "test", and "clean" whenever running on macOS (Darwin). This ensures that running "make test" or "make all" in contrib on macOS automatically builds and links git-credential-osxkeychain, preventing future build or symbol linking regressions from slipping through CI. Signed-off-by: Shardul Natu <snatu@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
16 lines
406 B
Makefile
16 lines
406 B
Makefile
# The default target of this Makefile is...
|
|
all:: git-credential-osxkeychain
|
|
|
|
git-credential-osxkeychain:
|
|
$(MAKE) -C ../../.. contrib/credential/osxkeychain/git-credential-osxkeychain
|
|
|
|
install:
|
|
$(MAKE) -C ../../.. install-git-credential-osxkeychain
|
|
|
|
clean:
|
|
$(MAKE) -C ../../.. clean-git-credential-osxkeychain
|
|
|
|
test: git-credential-osxkeychain
|
|
|
|
.PHONY: all git-credential-osxkeychain install clean test
|