OSDN Git Service

Add submodules
authorTakashi Sawanaka <sdottaka@users.sourceforge.net>
Sun, 25 Aug 2019 15:13:15 +0000 (00:13 +0900)
committerTakashi Sawanaka <sdottaka@users.sourceforge.net>
Sun, 25 Aug 2019 15:13:15 +0000 (00:13 +0900)
.gitmodules [new file with mode: 0644]
CreateRelease.cmd
Externals/freeimage [new submodule]
Externals/frhed [new submodule]
Externals/patch [new submodule]
Externals/sevenzip [new submodule]
Externals/winimerge [new submodule]

diff --git a/.gitmodules b/.gitmodules
new file mode 100644 (file)
index 0000000..4dc0680
--- /dev/null
@@ -0,0 +1,15 @@
+[submodule "Externals/frhed"]
+       path = Externals/frhed
+       url = https://github.com/WinMerge/frhed.git
+[submodule "Externals/winimerge"]
+       path = Externals/winimerge
+       url = https://github.com/WinMerge/winimerge.git
+[submodule "Externals/patch"]
+       path = Externals/patch
+       url = https://github.com/WinMerge/patch.git
+[submodule "Externals/sevenzip"]
+       path = Externals/sevenzip
+       url = https://github.com/WinMerge/sevenzip.git
+[submodule "Externals/freeimage"]
+       path = Externals/freeimage
+       url = https://github.com/WinMerge/freeimage.git
index aa0ee9c..f6f3608 100644 (file)
@@ -10,12 +10,17 @@ pushd "%~dp0"
 rmdir /q /s %workdir% > NUL 2> NUL
 mkdir %workdir% 2> NUL
 
-call Externals\hg_clone.cmd
+git submodule init
+git submodule update
 
-hg archive %workdir%
+git checkout-index -a -f --prefix=%workdir%\
 for /d %%d in (Externals\*) do (
   pushd %%d
-  if exist .hg hg archive ..\..\%workdir%\%%d 
+  if exist .git (
+    rmdir /q /s ..\..\%workdir%\%%d
+    mkdir ..\..\%workdir%\%%d
+    git checkout-index -a -f --prefix=..\..\%workdir%\%%d\
+  )
   popd
 )
 
diff --git a/Externals/freeimage b/Externals/freeimage
new file mode 160000 (submodule)
index 0000000..be59f05
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit be59f0583b2a86b630c6c3b0e76bfced84aac38e
diff --git a/Externals/frhed b/Externals/frhed
new file mode 160000 (submodule)
index 0000000..667f15b
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit 667f15b0d6e77a6438402ce0b244d53c207735b7
diff --git a/Externals/patch b/Externals/patch
new file mode 160000 (submodule)
index 0000000..a44c7a2
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit a44c7a2921d52b274ab33900a3f49e6b02a5a95f
diff --git a/Externals/sevenzip b/Externals/sevenzip
new file mode 160000 (submodule)
index 0000000..cff58f1
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit cff58f15205a4e45343a5ed9214059162039e6c0
diff --git a/Externals/winimerge b/Externals/winimerge
new file mode 160000 (submodule)
index 0000000..99ababb
--- /dev/null
@@ -0,0 +1 @@
+Subproject commit 99ababb01a3987174bff0637fe6b546ea7a2f455