summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorllnulldisk <48621230+llnulldisk@users.noreply.github.com>2022-09-30 19:21:28 +0200
committerllnulldisk <48621230+llnulldisk@users.noreply.github.com>2022-09-30 19:21:28 +0200
commita5cba44bee66ec784efb774fa4b85a787b9603e6 (patch)
tree3a86d20448bc8af94affc02501976f1b24b7d8be
parent42b32b990c81ba022c8065ed39d625b929da6020 (diff)
Update samples
-rw-r--r--Dockerfile_test2
-rw-r--r--samples/received-text-processing/CMakeLists.txt2
2 files changed, 3 insertions, 1 deletions
diff --git a/Dockerfile_test b/Dockerfile_test
index a209609..efd24cd 100644
--- a/Dockerfile_test
+++ b/Dockerfile_test
@@ -45,6 +45,8 @@ RUN rm -rf CMakeCache.txt CMakeFiles/ && \
cmake . && make -j$(nproc)
WORKDIR /usr/src/tgbot-cpp/samples/echobot-submodule
+RUN rm -rf tgbot-cpp/
+COPY ../../../ ./
RUN rm -rf CMakeCache.txt CMakeFiles/ && \
cmake . && make -j$(nproc)
diff --git a/samples/received-text-processing/CMakeLists.txt b/samples/received-text-processing/CMakeLists.txt
index 0c2a550..a6bc7dd 100644
--- a/samples/received-text-processing/CMakeLists.txt
+++ b/samples/received-text-processing/CMakeLists.txt
@@ -1,4 +1,4 @@
-ccmake_minimum_required(VERSION 3.10.2)
+cmake_minimum_required(VERSION 3.10.2)
project(received-text-processing)
set(CMAKE_CXX_STANDARD 14)