[Groonga-mysql-commit] mroonga/mroonga at 5ffc234 [master] windows: add batch scripts

Back to archive index

Kouhei Sutou null+****@clear*****
Mon May 20 15:34:36 JST 2013


Kouhei Sutou	2013-05-20 15:34:36 +0900 (Mon, 20 May 2013)

  New Revision: 5ffc2346a1060d56377df66cc76605db3382a8dc
  https://github.com/mroonga/mroonga/commit/5ffc2346a1060d56377df66cc76605db3382a8dc

  Message:
    windows: add batch scripts
    
    They build MSI installer and zip archive for x86 and x64 environments.

  Added files:
    packages/windows/Makefile.am
    packages/windows/build-32.bat
    packages/windows/build-64.bat
    packages/windows/build.bat

  Added: packages/windows/Makefile.am (+15 -0) 100644
===================================================================
--- /dev/null
+++ packages/windows/Makefile.am    2013-05-20 15:34:36 +0900 (ed0e501)
@@ -0,0 +1,15 @@
+all:
+
+release: upload
+
+ensure-rsync-path:
+	@if test -z "$(RSYNC_PATH)"; then				\
+	  echo "--with-rsync-path configure option must be specified.";	\
+	  false;							\
+	fi
+
+download: ensure-rsync-path
+	rsync -avz --progress $(RSYNC_PATH)/windows/groonga/ files
+
+upload: ensure-rsync-path
+	rsync -avz --progress --delete files/ $(RSYNC_PATH)/windows/groonga

  Added: packages/windows/build-32.bat (+10 -0) 100644
===================================================================
--- /dev/null
+++ packages/windows/build-32.bat    2013-05-20 15:34:36 +0900 (8a952d5)
@@ -0,0 +1,10 @@
+rmdir /S /Q build-32
+mkdir build-32
+cd build-32
+cmake ..\source -G "Visual Studio 10" > config.log
+cmake --build . --config RelWithDebInfo > build.log
+cmake --build . --config RelWithDebInfo --target msi > msi.log
+move *.msi ..\
+cmake --build . --config RelWithDebInfo --target package > zip.log
+move *.zip ..\
+cd ..

  Added: packages/windows/build-64.bat (+10 -0) 100644
===================================================================
--- /dev/null
+++ packages/windows/build-64.bat    2013-05-20 15:34:36 +0900 (05e8baa)
@@ -0,0 +1,10 @@
+rmdir /S /Q build-64
+mkdir build-64
+cd build-64
+cmake ..\source -G "Visual Studio 10 win64" > config.log
+cmake --build . --config RelWithDebInfo > build.log
+cmake --build . --config RelWithDebInfo --target msi > msi.log
+move *.msi ..\
+cmake --build . --config RelWithDebInfo --target package > zip.log
+move *.zip ..\
+cd ..

  Added: packages/windows/build.bat (+2 -0) 100644
===================================================================
--- /dev/null
+++ packages/windows/build.bat    2013-05-20 15:34:36 +0900 (da454bb)
@@ -0,0 +1,2 @@
+build-32.bat
+build-64.bat
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-mysql-commit mailing list
Back to archive index