<commit_before>#!/bin/bash -ex
# Copyright 2014 The 'mumble-releng' Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that
# can be found in the LICENSE file in the source tree or at
# <http://mumble.info/mumble-releng/LICENSE>.

source common.bash
fetch_if_not_exists "http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.19.zip"
expect_sha1 "mysql-5.6.19.zip" "df34b5ccb7f51b668041662e5f2ec381565ae351"
expect_sha256 "mysql-5.6.19.zip" "ccc3183f2bbeef6e15ec60623bdee29037d2d2e717327267bf1add74944881c6"

unzip -q mysql-5.6.19.zip
cd mysql-5.6.19

mkdir -p __build__
cd __build__
cmd /c $(cygpath -w ${MUMBLE_PREFIX}/cmake/bin/cmake.exe) -G "Visual Studio 10" ..
cmd /c msbuild MySQL.sln /p:Configuration=RelWithDebInfo

mkdir -p ${MUMBLE_PREFIX}/MySQL
mkdir -p ${MUMBLE_PREFIX}/MySQL/lib

cp libmysql/RelWithDebInfo/*{.lib,.dll,pdb} ${MUMBLE_PREFIX}/MySQL/lib/
cp -R ../include ${MUMBLE_PREFIX}/MySQL/include
cp include/*.h ${MUMBLE_PREFIX}/MySQL/include/<commit_msg>buildenv/1.2.x/win32: fix bad WiX interaction in libmysql's CMake invocation.<commit_after>#!/bin/bash -ex
# Copyright 2014 The 'mumble-releng' Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that
# can be found in the LICENSE file in the source tree or at
# <http://mumble.info/mumble-releng/LICENSE>.

source common.bash
fetch_if_not_exists "http://dev.mysql.com/get/Downloads/MySQL-5.6/mysql-5.6.19.zip"
expect_sha1 "mysql-5.6.19.zip" "df34b5ccb7f51b668041662e5f2ec381565ae351"
expect_sha256 "mysql-5.6.19.zip" "ccc3183f2bbeef6e15ec60623bdee29037d2d2e717327267bf1add74944881c6"

unzip -q mysql-5.6.19.zip
cd mysql-5.6.19

mkdir -p __build__
cd __build__
cmd /c $(cygpath -w ${MUMBLE_PREFIX}/cmake/bin/cmake.exe) -G "Visual Studio 10" -DWIX_DIR= ..
cmd /c msbuild MySQL.sln /p:Configuration=RelWithDebInfo

mkdir -p ${MUMBLE_PREFIX}/MySQL
mkdir -p ${MUMBLE_PREFIX}/MySQL/lib

cp libmysql/RelWithDebInfo/*{.lib,.dll,pdb} ${MUMBLE_PREFIX}/MySQL/lib/
cp -R ../include ${MUMBLE_PREFIX}/MySQL/include
cp include/*.h ${MUMBLE_PREFIX}/MySQL/include/
{'fraction_non_alphanumeric': 0.1348261076703192, 'fraction_numerical': 0.09433063363506432, 'mean_word_length': 4.706521739130435, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3211456', 'n_tokens_mistral': 982, 'n_tokens_neox': 843, 'n_words': 180}