-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added ECST submodule + submodule update script
- Loading branch information
1 parent
287d8f2
commit a8f9cbd
Showing
4 changed files
with
20 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[submodule "multithreaded_compiletime_ecs/ecst"] | ||
path = multithreaded_compiletime_ecs/ecst | ||
url = https://github.com/SuperV1234/ecst.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
|
||
# This bash script, called in a repository with submodules, inits and pulls all submodules | ||
|
||
echo "Initializing all submodules..." | ||
git submodule update --init | ||
|
||
echo "Discarding all submodule changes..." | ||
git submodule foreach "git checkout . ; git reset --hard origin/master" | ||
|
||
echo "Recursively pulling all submodules..." | ||
git submodule foreach "git pull origin master" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters