Add osxkeychain for macos (#2149)

* Add osxkeychain for macos

* touch up

* bad format

---------

Co-authored-by: James Reynolds <magnsuviri@me.com>
Co-authored-by: Jacob Heider <jacob@tea.xyz>
This commit is contained in:
James Reynolds 2023-06-11 12:57:42 -06:00 committed by GitHub
parent dd44f30619
commit 314a5a3e6a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,6 +34,15 @@ build:
cd contrib/subtree
make
make install
if test "{{ hw.platform }}" = "darwin"; then
cd "$SRCROOT/contrib/credential/osxkeychain"
make
mv git-credential-osxkeychain "{{prefix}}"/bin
make clean
cd "$SRCROOT/contrib/subtree"
fi
mv git-subtree "{{prefix}}"/libexec
cd "{{prefix}}"
@ -77,10 +86,20 @@ test: |
git subtree add --prefix teaxyz-subtree https://github.com/teaxyz/white-paper main --squash
provides:
- bin/git
- bin/git-cvsserver
- bin/git-receive-pack
- bin/git-shell
- bin/git-upload-archive
- bin/git-upload-pack
- bin/scalar
linux:
- bin/git
- bin/git-cvsserver
- bin/git-receive-pack
- bin/git-shell
- bin/git-upload-archive
- bin/git-upload-pack
- bin/scalar
darwin:
- bin/git
- bin/git-cvsserver
- bin/git-receive-pack
- bin/git-shell
- bin/git-upload-archive
- bin/git-upload-pack
- bin/scalar
- bin/git-credential-osxkeychain