From fee6e6577c43756c64067fb974ca3463785aa67a Mon Sep 17 00:00:00 2001 From: Ekrem Seren Date: Thu, 18 Apr 2024 01:45:30 +0300 Subject: [PATCH] Add Gitpod config file --- .gitmodules | 2 +- .gitpod.yml | 10 ++++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) create mode 100644 .gitpod.yml diff --git a/.gitmodules b/.gitmodules index b3bed9b4..c7c72942 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,4 +1,4 @@ [submodule "camino-matrix-go"] path = camino-matrix-go - url = ../camino-matrix-go.git + url = https://github.com/chain4travel/camino-matrix-go.git \ No newline at end of file diff --git a/.gitpod.yml b/.gitpod.yml new file mode 100644 index 00000000..37dcbeed --- /dev/null +++ b/.gitpod.yml @@ -0,0 +1,10 @@ +tasks: + - name: Main + before: echo -e "\e[93mBot is compiling in the terminal on the right...\e[0m" + init: echo -e "\e[96mFor more info https://docs.camino.network/camino-messenger/bot/\e[0m" + command: echo -e '\e[92mTry "./bot --help" when compilation is finished!\e[0m' + - name: Compile Bot + before: sudo apt install -y libolm-dev + init: echo "Installing Go modules..." && git submodule update --init && go mod download + command: echo "Compiling bot..." && go build -o bot cmd/camino-messenger-bot/main.go + openMode: split-right \ No newline at end of file