neon_arch commited on
Commit
2dbffcc
2 Parent(s): 9c8b826 29b1376

Merge pull request #132 from alamin655/improving-gitpod

Browse files
Files changed (1) hide show
  1. .gitpod.yml +7 -8
.gitpod.yml CHANGED
@@ -1,22 +1,23 @@
1
  ---
2
- image: ubuntu:latest
3
  # Commands that will run on workspace start
4
  tasks:
5
  - name: Setup, Install & Build
6
- - before: apt install cargo redis-server nodejs npm && cargo test
7
- - init: cargo install cargo-watch
8
- - command: redis-server --port 8080 & cargo watch -q -w "." -x "run"
9
  # Ports to expose on workspace startup
10
  ports:
11
  - name: Website
12
  description: Website Preview
13
  port: 8080
14
- onOpen: open-browser
15
  # vscode IDE setup
16
  vscode:
17
  extensions:
18
  - vadimcn.vscode-lldb
19
- - rust-lang.rust-analyzer
 
20
  - bungcip.better-toml
21
  - serayuzgur.crates
22
  - usernamehw.errorlens
@@ -27,10 +28,8 @@ vscode:
27
  - evgeniypeshkov.syntax-highlighter
28
  - redhat.vscode-yaml
29
  - ms-azuretools.vscode-docker
30
- - GitHub.vscode-github-actions
31
  - Catppuccin.catppuccin-vsc
32
  - PKief.material-icon-theme
33
- - tal7aouy.rainbow-bracket
34
  - oderwat.indent-rainbow
35
  - formulahendry.auto-rename-tag
36
  - eamodio.gitlens
 
1
  ---
2
+ image: gitpod/workspace-base
3
  # Commands that will run on workspace start
4
  tasks:
5
  - name: Setup, Install & Build
6
+ before: apt install cargo redis-server nodejs npm -y && cargo test
7
+ init: cargo install cargo-watch
8
+ command: redis-server --port 8080 & cargo watch -q -w "." -x "run"
9
  # Ports to expose on workspace startup
10
  ports:
11
  - name: Website
12
  description: Website Preview
13
  port: 8080
14
+ onOpen: open-preview
15
  # vscode IDE setup
16
  vscode:
17
  extensions:
18
  - vadimcn.vscode-lldb
19
+ - cschleiden.vscode-github-actions
20
+ - rust-lang.rust
21
  - bungcip.better-toml
22
  - serayuzgur.crates
23
  - usernamehw.errorlens
 
28
  - evgeniypeshkov.syntax-highlighter
29
  - redhat.vscode-yaml
30
  - ms-azuretools.vscode-docker
 
31
  - Catppuccin.catppuccin-vsc
32
  - PKief.material-icon-theme
 
33
  - oderwat.indent-rainbow
34
  - formulahendry.auto-rename-tag
35
  - eamodio.gitlens