From bc34dabb094de54be8e5a27f3e71ef0321bbd973 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Mon, 2 Feb 2015 23:55:58 -0800 Subject: [PATCH] Add wxWidgets as a submodule --- .gitmodules | 3 +++ ext/README.txt | 30 ++++++++++++++++++++++++++++++ ext/wxWidgets | 1 + 3 files changed, 34 insertions(+) create mode 100644 .gitmodules create mode 100644 ext/README.txt create mode 160000 ext/wxWidgets diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 00000000..808a1deb --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "ext/wxWidgets"] + path = ext/wxWidgets + url = https://github.com/wxWidgets/wxWidgets.git diff --git a/ext/README.txt b/ext/README.txt new file mode 100644 index 00000000..770fb946 --- /dev/null +++ b/ext/README.txt @@ -0,0 +1,30 @@ +What is this? +============= + +This folder holds the source for external projects used by Phoenix, (currently +just wxWidgets) as git submodules. This allows Phoenix to use a specific +revision of the code in the other projects and not depend on the developer +fetching the correct version of the code on their own. + +When you first checkout the Phoenix source using git you will need to tell git +to also fetch the submodules, like this: + + git submodule init + git submodule update + +To learn more about git submodules, please see the following: + + http://git-scm.com/book/en/v2/Git-Tools-Submodules + http://blogs.atlassian.com/2013/03/git-submodules-workflows-tips/ + http://www.speirs.org/blog/2009/5/11/understanding-git-submodules.html + + +Notes to self +============= + +To use a different repo URL for a submodule than what others will see (in +order to make and test local changes to the submodule) then you can set that +with a command like: + + git config submodule.MODULE_NAME.url PRIVATE_URL + diff --git a/ext/wxWidgets b/ext/wxWidgets new file mode 160000 index 00000000..bb3dcf85 --- /dev/null +++ b/ext/wxWidgets @@ -0,0 +1 @@ +Subproject commit bb3dcf85fb05324a4fb71769635a820661c82797