diff options
| author | levlam <levlam@telegram.org> | 2018-10-30 21:17:42 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2018-10-30 21:17:42 +0300 |
| commit | edc7393c2433840a17e911bdd60867d3b65ad1d7 (patch) | |
| tree | 7067e1c57eafafef90974a1b958180af1b24b316 /build.html | |
| parent | 6fbaed99979687eff1b9c0ff4fabb7675d7d516a (diff) | |
Fix trailing spaces.
GitOrigin-RevId: ea9723580fb56b3511fb9451db5aedb968bd8813
Diffstat (limited to 'build.html')
| -rw-r--r-- | build.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/build.html b/build.html index f2e38f2da..1e4aad369 100644 --- a/build.html +++ b/build.html @@ -195,7 +195,7 @@ function getExampleAnchor(language) { function onLanguageChanged(initial) { var language = document.getElementById('languageSelect').value; - + var supported_os = getSupportedOs(language); var os_select = document.getElementById('osSelect'); @@ -470,7 +470,7 @@ function onOptionsChanged() { var compiler = use_clang ? 'clang++ >= 3.4' : 'g++ >= 4.9.2'; pre_text.push('Install Git, ' + compiler + ', make, CMake >= 3.0.2, OpenSSL, zlib, gperf, PHP' + jdk + ' using your package manager.'); } - + var terminal_name = os_windows ? (use_powershell ? 'PowerShell' : 'mintty/Bash') : (os_mac ? 'Terminal' : 'Bash'); if (os_windows) { pre_text.push('Close and re-open ' + terminal_name + ' if PATH environment variable was changed.'); @@ -642,7 +642,7 @@ function onOptionsChanged() { commands.push('export CXXFLAGS="' + cxx_flags.join(' ') + '"'); } } - + cmake_init_options = getBacicCmakeInitOptions(); if (os_mac) { cmake_init_options.push('-DOPENSSL_ROOT_DIR=/usr/local/opt/openssl/'); @@ -665,7 +665,7 @@ function onOptionsChanged() { if (use_vcpkg) { cmake_init_options.push('-DCMAKE_TOOLCHAIN_FILE:FILEPATH=../vcpkg/scripts/buildsystems/vcpkg.cmake'); } - + function getCmakeInitCommand(options) { var prefix = ''; if (os_linux) { @@ -730,7 +730,7 @@ function onOptionsChanged() { var resolve_path = use_powershell ? 'Resolve-Path' : (os_mac ? 'greadlink -e' : (is_alpine ? 'readlink -f' : 'readlink -e')); cmake_init_options.push('-DTd_DIR:PATH=$(' + resolve_path + ' ../td/lib/cmake/Td)'); commands.push(getCmakeInitCommand(cmake_init_options)); - + build_command = 'cmake --build .'; if (jni_install_dir) { build_command += ' --target install'; |
