Skip to content

Commit adb0556

Browse files
author
Miqueas
committed
Updated Gitpod config
1 parent c5dcfda commit adb0556

File tree

1 file changed

+29
-18
lines changed

1 file changed

+29
-18
lines changed

.gitpod.yml

Lines changed: 29 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,39 @@
11
image: gitpod/workspace-base
22

3-
# tasks:
4-
# - name: Setup Lua
5-
# init: sudo apt install -y lua5.1
6-
7-
# - name: Setup Nim
8-
# init: |
9-
# wget -qO $HOME/choosenim https://nim-lang.org/choosenim/init.sh
10-
# chmod +x $HOME/choosenim
11-
# $HOME/choosenim -y
12-
# echo "export PATH=$PATH:$HOME/.nimble/bin" >> $HOME/.bashrc
3+
tasks:
4+
- name: Setup Nim
5+
command: |
6+
wget -qO $HOME/choosenim https://nim-lang.org/choosenim/init.sh
7+
chmod +x $HOME/choosenim
8+
$HOME/choosenim -y
9+
echo "export PATH=$PATH:$HOME/.nimble/bin" >> $HOME/.bashrc
10+
11+
- name: Setup Ruby
12+
command: |
13+
wget -qO- https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer | bash
14+
rbenv install 3.1.1
15+
gem install solargraph
1316
14-
# - name: Setup Vala
15-
# init: sudo apt install -y valac
17+
- name: Setup Go
18+
command: |
19+
cd $HOME
20+
curl -sSL https://git.io/g-install | sh -s -- bash -y
1621
17-
# - name: Setup Ruby
18-
# init: |
19-
# wget -qO- https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer | bash
20-
# rbenv install 3.0.3
21-
# gem install solargraph
22+
- name: Setup Vala and Lua
23+
command:
24+
sudo apt update; sudo apt upgrade -y
25+
sudo add-apt-repository -y ppa:vala-team/ppa
26+
sudo apt update; sudo apt upgrade -y
27+
sudo apt install -y valac lua5.1
28+
echo 'deb http://download.opensuse.org/repositories/home:/Prince781/xUbuntu_21.04/ /' | sudo tee /etc/apt/sources.list.d/home:Prince781.list
29+
curl -fsSL https://download.opensuse.org/repositories/home:Prince781/xUbuntu_21.04/Release.key | gpg --dearmor | sudo tee /etc/apt/trusted.gpg.d/home_Prince781.gpg > /dev/null
30+
sudo apt update
31+
sudo apt install -y vala-language-server
2232

2333
vscode:
2434
extensions:
2535
- sumneko.lua
2636
- nimsaem.nimvscode
2737
- prince781.vala
28-
- castwide.solargraph
38+
- castwide.solargraph
39+
- golang.go

0 commit comments

Comments
 (0)