mirror of
https://github.com/status-im/nimbus-eth1.git
synced 2025-01-24 19:19:21 +00:00
Makefile: better "github-ssh" target
This commit is contained in:
parent
63a976868d
commit
9806110979
6
Makefile
6
Makefile
@ -149,10 +149,8 @@ mrproper: clean
|
||||
|
||||
# for when you want to use SSH keys with GitHub
|
||||
github-ssh:
|
||||
sed -i 's#https://github.com/#git@github.com:#' .git/config
|
||||
git config --file .gitmodules --get-regexp url | while read LINE; do \
|
||||
git config `echo $${LINE} | sed 's#https://github.com/#git@github.com:#'` \
|
||||
;done
|
||||
git config url."git@github.com:".insteadOf "https://github.com/"
|
||||
git submodule foreach --recursive 'git config url."git@github.com:".insteadOf "https://github.com/"'
|
||||
|
||||
#- re-builds the Nim compiler (not usually needed, because `make update` does it when necessary)
|
||||
#- allows parallel building with the '+' prefix
|
||||
|
Loading…
x
Reference in New Issue
Block a user