4 Commits
1.1.2 ... 1.1.3

Author SHA1 Message Date
7da2e27d22 Set ninja as generator
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/tag Build is passing
2022-02-12 13:19:26 +01:00
3df014f332 Merge remote-tracking branch 'origin/master'
Some checks failed
continuous-integration/drone/push Build is failing
2022-02-12 13:15:22 +01:00
0d627d3e7b Fixes CI 2022-02-12 13:12:43 +01:00
003e33c05a If key is "key" and value is "value" ignore the line.
Some checks failed
continuous-integration/drone/push Build is failing
continuous-integration/drone/tag Build is failing
2021-11-12 12:20:53 +01:00
2 changed files with 13 additions and 6 deletions

View File

@@ -9,16 +9,21 @@ steps:
CC: /usr/bin/clang CC: /usr/bin/clang
CXX: /usr/bin/clang++ CXX: /usr/bin/clang++
commands: commands:
- cmake -DCMAKE_BUILD_TYPE=Release . -B build-release - cmake -GNinja -DCMAKE_BUILD_TYPE=Release . -B build-release
- cmake --build build-release --target all -- -j 4 - cmake --build build-release --target all -- -j 4
- name: build-release-windows - name: build-release-windows
image: deukhoofd/windowsbuilder image: deukhoofd/windowsbuilder
environment:
CHOST: x86_64-w64-mingw32
AR: x86_64-w64-mingw32-ar
AS: x86_64-w64-mingw32-as
RANLIB: x86_64-w64-mingw32-ranlib
CC: x86_64-w64-mingw32-gcc
CXX: x86_64-w64-mingw32-g++
STRIP: x86_64-w64-mingw32-strip
RC: x86_64-w64-mingw32-windres
commands: commands:
- update-alternatives --set i686-w64-mingw32-gcc /usr/bin/i686-w64-mingw32-gcc-posix - cmake -GNinja -DCMAKE_BUILD_TYPE=Release . -B build-release-windows -D CMAKE_C_COMPILER=/usr/bin/x86_64-w64-mingw32-gcc -D CMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++
- update-alternatives --set i686-w64-mingw32-g++ /usr/bin/i686-w64-mingw32-g++-posix
- update-alternatives --set x86_64-w64-mingw32-gcc /usr/bin/x86_64-w64-mingw32-gcc-posix
- update-alternatives --set x86_64-w64-mingw32-g++ /usr/bin/x86_64-w64-mingw32-g++-posix
- cmake -DCMAKE_BUILD_TYPE=Release . -B build-release-windows -D CMAKE_C_COMPILER=/usr/bin/x86_64-w64-mingw32-gcc -D CMAKE_CXX_COMPILER=x86_64-w64-mingw32-g++
- cmake --build build-release-windows --target all -- -j 4 - cmake --build build-release-windows --target all -- -j 4
- name: gitea_release - name: gitea_release
image: plugins/gitea-release image: plugins/gitea-release

View File

@@ -49,6 +49,8 @@ void LocalizationFile::LoadFile(const std::filesystem::path& path) {
std::getline(linestream, value, sep); std::getline(linestream, value, sep);
if (key.empty()) if (key.empty())
continue; continue;
if (key == "key" && value == "value")
continue;
if (!IsKeyValid(key)){ if (!IsKeyValid(key)){
std::cout << "Key not valid: '" << key << "'. Skipping key." << std::endl; std::cout << "Key not valid: '" << key << "'. Skipping key." << std::endl;
} }