move GLFW into sub-repository, use git subtree to sync (#42)
* README: move GLFW into sub-repository, describe git subtree usage Signed-off-by: Stephen Gutekanst <stephen@hexops.com> * dev: add subrepo sync scripts Signed-off-by: Stephen Gutekanst <stephen@hexops.com>
This commit is contained in:
parent
1a3f391891
commit
02654a51c7
4 changed files with 43 additions and 0 deletions
6
dev/pull-subrepos.sh
Executable file
6
dev/pull-subrepos.sh
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
set -exuo pipefail
|
||||
cd "$(dirname "${BASH_SOURCE[0]}")"/..
|
||||
|
||||
./dev/update-subrepos.sh
|
||||
git subtree pull --prefix glfw mach-glfw main
|
||||
6
dev/push-subrepos.sh
Executable file
6
dev/push-subrepos.sh
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
set -exuo pipefail
|
||||
cd "$(dirname "${BASH_SOURCE[0]}")"/..
|
||||
|
||||
./dev/update-subrepos.sh
|
||||
git subtree push --prefix glfw mach-glfw main
|
||||
6
dev/update-subrepos.sh
Executable file
6
dev/update-subrepos.sh
Executable file
|
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
set -exuo pipefail
|
||||
cd "$(dirname "${BASH_SOURCE[0]}")"/..
|
||||
|
||||
git remote add -f mach-glfw git@github.com:hexops/mach-glfw || true
|
||||
git fetch mach-glfw
|
||||
Loading…
Add table
Add a link
Reference in a new issue