<commit_before>os:
  - Visual Studio 2015

configuration:
  - Release

platform:
  - Win32

install:
  - mkdir C:\temp

  # biicode
  - choco install biicode
  - set PATH=%PATH%;C:\Program Files (x86)\BiiCode\bii

  # build libraries with biicode
  - cd C:\temp
  - bii init libs -L
  - cd libs
  #- ps: Add-Content main.cpp "#include `"latinga/sdl2/include/SDL.h`""
  - ps: Add-Content main.cpp "#include `"latinga/sdl2_ttf/SDL_ttf.h`""
  - ps: Add-Content main.cpp "#include `"leif/png/png.h`""
  - ps: Add-Content main.cpp "int main(int argc, char *args[]){return 0;}"
  - bii find
  - bii configure -G "Visual Studio 14"
  - bii build --config Release
  - copy .\bii\lib\leif_zlib.lib C:\Libraries\zlib.lib
  - copy .\bii\deps\leif\zlib\*.h C:\Libraries\
  - copy .\bii\lib\leif_png.lib C:\Libraries\png.lib
  - copy .\bii\deps\leif\png\*.h C:\Libraries\
  - copy .\bii\lib\lemberg_freetype.lib C:\Libraries\freetype.lib
  - mkdir C:\Libraries\include\freetype  
  - copy .\bii\deps\lemberg\freetype\include\*.* C:\Libraries\include\freetype\
  - mkdir C:\Libraries\include\SDL2
  - copy .\bii\lib\latinga_sdl2.lib C:\Libraries\SDL2.lib
  - copy .\bii\lib\SDL2main.lib C:\Libraries\SDL2main.lib
  - copy .\bii\deps\latinga\sdl2\include\*.h C:\Libraries\include\SDL2\
  - copy .\bii\lib\latinga_sdl2_ttf.lib C:\Libraries\SDL2_ttf.lib
  - copy .\bii\deps\latinga\sdl2_ttf\SDL_ttf.h C:\Libraries\include\SDL2\
  - ps: (gc C:\Libraries\include\SDL2\SDL_ttf.h).replace('latinga/sdl2/include/', '') | sc C:\Libraries\include\SDL2\SDL_ttf.h

  # current appveyour workers don't have boost libraries for vs2015, so we have to build them
  - cd C:\Libraries\boost_1_58_0
  # boost 1.58 doesn't know about vs2015, so we need a little patch here
  - ps: (gc C:\Libraries\boost_1_58_0\boost\config\compiler\visualc.hpp).replace('_MSC_FULL_VER > 190022310', '_MSC_FULL_VER > 190023026') | sc C:\Libraries\boost_1_58_0\boost\config\compiler\visualc.hpp
  - .\bootstrap
  - .\b2 variant=release --with-system --with-filesystem --with-program_options --with-regex

before_build:
  - cd C:\projects\fontbm
  - git submodule init && git submodule update
  - cmake -G "Visual Studio 14 2015" -DBOOST_ROOT="C:\Libraries\boost_1_58_0" -DBoost_USE_STATIC_LIBS=ON -DBoost_USE_MULTITHREADED=ON -DCMAKE_PREFIX_PATH="C:\Libraries"
  - set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%

build:
  project: fontbm.sln<commit_msg>Fix appveyor.yml<commit_after>os:
  - Visual Studio 2015

configuration:
  - Release

platform:
  - Win32

install:
  - mkdir C:\temp

  # biicode
  - choco install biicode
  - set PATH=%PATH%;C:\Program Files (x86)\BiiCode\bii

  # build libraries with biicode
  - cd C:\temp
  - bii init libs -L
  - cd libs
  - ps: Add-Content main.cpp "#include `"latinga/sdl2_ttf/SDL_ttf.h`""
  - ps: Add-Content main.cpp "#include `"leif/png/png.h`""
  - ps: Add-Content main.cpp "int main(int argc, char *args[]){return 0;}"
  - bii find
  - bii configure -G "Visual Studio 14"
  - bii build --config Release
  - copy .\bii\lib\leif_zlib.lib C:\Libraries\zlib.lib
  - copy .\bii\deps\leif\zlib\*.h C:\Libraries\
  - copy .\bii\lib\leif_png.lib C:\Libraries\png.lib
  - copy .\bii\deps\leif\png\*.h C:\Libraries\
  - copy .\bii\lib\lemberg_freetype.lib C:\Libraries\freetype.lib
  - mkdir C:\Libraries\include\freetype2
  - mkdir C:\Libraries\include\freetype2\freetype
  - copy .\bii\deps\lemberg\freetype\include\*.* C:\Libraries\include\freetype2\freetype\
  - mkdir C:\Libraries\include\SDL2
  - copy .\bii\lib\latinga_sdl2.lib C:\Libraries\SDL2.lib
  - copy .\bii\lib\SDL2main.lib C:\Libraries\SDL2main.lib
  - copy .\bii\deps\latinga\sdl2\include\*.h C:\Libraries\include\SDL2\
  - copy .\bii\lib\latinga_sdl2_ttf.lib C:\Libraries\SDL2_ttf.lib
  - copy .\bii\deps\latinga\sdl2_ttf\SDL_ttf.h C:\Libraries\include\SDL2\
  - ps: (gc C:\Libraries\include\SDL2\SDL_ttf.h).replace('latinga/sdl2/include/', '') | sc C:\Libraries\include\SDL2\SDL_ttf.h

  # current appveyour workers don't have boost libraries for vs2015, so we have to build them
  - cd C:\Libraries\boost_1_58_0
  # boost 1.58 doesn't know about vs2015, so we need a little patch here
  - ps: (gc C:\Libraries\boost_1_58_0\boost\config\compiler\visualc.hpp).replace('_MSC_FULL_VER > 190022310', '_MSC_FULL_VER > 190023026') | sc C:\Libraries\boost_1_58_0\boost\config\compiler\visualc.hpp
  - .\bootstrap
  - .\b2 variant=release --with-system --with-filesystem --with-program_options --with-regex

before_build:
  - cd C:\projects\fontbm
  - git submodule init && git submodule update
  - cmake -G "Visual Studio 14 2015" -DBOOST_ROOT="C:\Libraries\boost_1_58_0" -DBoost_USE_STATIC_LIBS=ON -DBoost_USE_MULTITHREADED=ON -DCMAKE_PREFIX_PATH="C:\Libraries"
  - set PATH=C:\Program Files (x86)\MSBuild\14.0\Bin;%PATH%

build:
  project: fontbm.sln
{'fraction_non_alphanumeric': 0.15301455301455302, 'fraction_numerical': 0.035343035343035345, 'mean_word_length': 3.314798206278027, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1487491', 'n_tokens_mistral': 2114, 'n_tokens_neox': 1928, 'n_words': 357}