[Pkg-owncloud-commits] [owncloud-client] 23/159: Add docker buildscript for win32

Sandro Knauß hefee-guest at moszumanska.debian.org
Fri May 1 13:05:17 UTC 2015


This is an automated email from the git hooks/post-receive script.

hefee-guest pushed a commit to branch master
in repository owncloud-client.

commit b5ea56df73a4931902b5d64a2c4a63caa7ffebc2
Author: Daniel Molkentin <danimo at owncloud.com>
Date:   Mon Mar 23 22:22:54 2015 +0100

    Add docker buildscript for win32
---
 admin/win/docker/build.sh      | 14 ++++++++++++++
 admin/win/download_runtimes.sh |  2 +-
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/admin/win/docker/build.sh b/admin/win/docker/build.sh
new file mode 100755
index 0000000..d128710
--- /dev/null
+++ b/admin/win/docker/build.sh
@@ -0,0 +1,14 @@
+#!/bin/bash
+
+useradd user
+su - user << EOF
+cd /home/user/$1
+rm -rf build-win32
+mkdir build-win32
+cd build-win32
+../admin/win/download_runtimes.sh
+cmake .. -DCMAKE_TOOLCHAIN_FILE=../admin/win/Toolchain-mingw32-openSUSE.cmake -DWITH_CRASHREPORTER=ON
+make -j4
+make package
+
+EOF
diff --git a/admin/win/download_runtimes.sh b/admin/win/download_runtimes.sh
index eddd29a..350916f 100755
--- a/admin/win/download_runtimes.sh
+++ b/admin/win/download_runtimes.sh
@@ -2,7 +2,7 @@
 
 #VS2013
 base_url=http://download.microsoft.com/download/2/E/6/2E61CFA4-993B-4DD4-91DA-3737CD5CD6E3
-tmp_path=/tmp/.vcredist
+tmp_path=${1:-/tmp/.vcredist}
 
 mkdir -p $tmp_path
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git



More information about the Pkg-owncloud-commits mailing list