Skip to content

Commit

Permalink
Add Gitpod config file
Browse files Browse the repository at this point in the history
  • Loading branch information
havan authored and knikos committed Apr 19, 2024
1 parent 4bce183 commit fee6e65
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -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

10 changes: 10 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit fee6e65

Please sign in to comment.