File tree Expand file tree Collapse file tree 2 files changed +37
-1
lines changed Expand file tree Collapse file tree 2 files changed +37
-1
lines changed Original file line number Diff line number Diff line change 11# bencode.hpp
22
33[ ![ Travis build status] [ travis-image ]] [ travis-link ]
4+ [ ![ Appveyor uild status] [ appveyor-image ]] [ appveyor-link ]
5+
46
57** bencode.hpp** is a small, header-only C++ library for parsing and generating
68[ bencoded] ( https://en.wikipedia.org/wiki/Bencode ) data.
@@ -105,7 +107,9 @@ memory will live until the encoding function returns.
105107
106108## License
107109
108- This library is licensed under the BSD 3-Clause license.
110+ This library is licensed under the BSD 3-Clause [ license] ( LICENSE ) .
109111
110112[ travis-image ] : https://travis-ci.org/jimporter/bencode.hpp.svg?branch=master
111113[ travis-link ] : https://travis-ci.org/jimporter/bencode.hpp
114+ [ appveyor-image ] : https://ci.appveyor.com/api/projects/status/sycb8ugc3vo3g1g9?svg=true
115+ [ appveyor-link ] : https://ci.appveyor.com/project/jimporter/bencode-hpp
Original file line number Diff line number Diff line change 1+ build : false
2+ version : " {branch}-{build}"
3+
4+ environment :
5+ BOOST_INCLUDEDIR : C:\Libraries\boost_1_59_0
6+ BOOST_LIBRARYDIR : C:\Libraries\boost_1_59_0\lib32-msvc-14.0
7+ PYTHON : C:\Python27
8+
9+ matrix :
10+ - VS : C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat
11+ BOOST_INCLUDEDIR : C:\Libraries\boost_1_59_0
12+ BOOST_LIBRARYDIR : C:\Libraries\boost_1_59_0\lib32-msvc-14.0
13+
14+ install :
15+ - call "%VS%" x86
16+ - set PATH=%PYTHON%;%PYTHON%\Scripts;%PATH%
17+ - pip install bfg9000
18+ - cinst ninja
19+ - git clone https://github.com/jimporter/mettle.git
20+ - cd mettle
21+ - copy ..\include\bencode.hpp include\bencode.hpp
22+ - 9k build --backend=ninja --prefix=C:\mettle
23+ - cd build
24+ - ninja install
25+ - cd ..\..
26+ test_script :
27+ - set PATH=C:\mettle;%PATH%
28+ - set LIBRARY_PATH=C:\mettle
29+ - set CPPFLAGS=/WX /IC:\mettle
30+ - 9k build --backend=ninja
31+ - cd build
32+ - ninja test
You can’t perform that action at this time.
0 commit comments