Skip to content

Commit 1aa8158

Browse files
committed
fix #254
1 parent 90dc11b commit 1aa8158

4 files changed

Lines changed: 7 additions & 4 deletions

File tree

Dockerfile_test

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,10 @@ WORKDIR /usr/src/tgbot-cpp/samples/reply-keyboard
7474
RUN rm -rf CMakeCache.txt CMakeFiles/ && \
7575
cmake . && make -j$(nproc)
7676

77+
WORKDIR /usr/src/tgbot-cpp/samples/receive-file
78+
RUN rm -rf CMakeCache.txt CMakeFiles/ && \
79+
cmake . && make -j$(nproc)
80+
7781
WORKDIR /usr/src/tgbot-cpp
7882
ENV CTEST_OUTPUT_ON_FAILURE=1
7983
CMD make test
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
cmake_minimum_required(VERSION 3.10.2)
2-
project(file)
2+
project(receive-file)
33

44
set(CMAKE_CXX_STANDARD 14)
55
set(CMAKE_CXX_STANDARD_REQUIRED ON)
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
FROM reo7sp/tgbot-cpp
22
MAINTAINER Oleg Morozenkov <m@oleg.rocks>
33

4-
WORKDIR /usr/src/photo
4+
WORKDIR /usr/src/receive-file
55
COPY . .
66
RUN cmake .
77
RUN make -j4
8-
CMD ./photo
8+
CMD ./receive-file
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
#include <tgbot/tgbot.h>
88

9-
109
using namespace std;
1110
using namespace TgBot;
1211

0 commit comments

Comments
 (0)