Download popl.hpp into src/cli/ in Debian example and CI recipe.
continuous-integration/drone/push Build is failing Details

This commit is contained in:
tastytea 2019-07-26 21:00:05 +02:00
parent a66880c98d
commit 8e40bea06e
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
3 changed files with 5 additions and 3 deletions

View File

@ -17,7 +17,7 @@ steps:
image: plugins/download
settings:
source: https://raw.githubusercontent.com/badaix/popl/v1.2.0/include/popl.hpp
destination: src/popl.hpp
destination: src/cli/popl.hpp
- name: gcc6
image: debian:stretch-slim
@ -186,7 +186,7 @@ steps:
image: plugins/download
settings:
source: https://raw.githubusercontent.com/badaix/popl/v1.2.0/include/popl.hpp
destination: src/popl.hpp
destination: src/cli/popl.hpp
- name: deb
image: debian:stretch-slim

View File

@ -73,7 +73,7 @@ apt-get install g++-6 cmake pkg-config libcurl4-openssl-dev libxdg-basedir-dev \
libvsqlitepp-dev libboost-system-dev libboost-filesystem-dev libicu-dev asciidoc
apt-get install -t sid libcurlpp-dev
# Inside the source directory:
wget -O src/popl.hpp https://raw.githubusercontent.com/badaix/popl/v1.2.0/include/popl.hpp
wget -O src/cli/popl.hpp https://raw.githubusercontent.com/badaix/popl/v1.2.0/include/popl.hpp
export CXX="g++-6"
----
====

View File

@ -1,3 +1,5 @@
include_directories(${PROJECT_SOURCE_DIR}/src/cli)
file(GLOB sources_cli *.cpp)
add_executable(${PROJECT_NAME}-cli ${sources_cli})