From d47ee877be5d1175bdc36f2d87881ddaf875a8e9 Mon Sep 17 00:00:00 2001 From: Oleg Morozenkov Date: Mon, 23 Jul 2018 01:56:42 +0300 Subject: Refactor http clients, fix webhook server, add more samples, change tabs to 4 spaces --- tools/docker-run-sample | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 tools/docker-run-sample (limited to 'tools/docker-run-sample') diff --git a/tools/docker-run-sample b/tools/docker-run-sample new file mode 100755 index 0000000..e7ac6ba --- /dev/null +++ b/tools/docker-run-sample @@ -0,0 +1,6 @@ +#!/bin/bash +set -e + +cd .. +docker build -t reo7sp/tgbot-cpp -f Dockerfile_test . +docker run --rm -it -e TOKEN=$2 reo7sp/tgbot-cpp /usr/src/tgbot-cpp/samples/$1/$1 -- cgit v1.2.3