0
0
mirror of https://github.com/neon-mmd/websurfx.git synced 2024-11-22 05:58:21 -05:00

Update .gitpod.yml

This commit is contained in:
alamin655 2023-08-06 12:38:17 +05:30 committed by GitHub
parent 58bc5789ca
commit 8e7fa6bb97
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,23 +1,24 @@
--- ---
image: gitpod/workspace-base image: gitpod/workspace-rust
# Commands that will run on workspace start # Commands that will run on workspace start
tasks: tasks:
- name: Setup, Install & Build - name: Setup, Install & Build
before: apt install cargo redis-server nodejs npm -y && cargo test before: apt install redis-server nodejs npm -y
init: cargo install cargo-watch init: cargo build -r
command: redis-server --port 8080 & cargo watch -q -w "." -x "run" command: redis-server --port 8080 & ./target/release/websurfx
# Ports to expose on workspace startup # Ports to expose on workspace startup
ports: ports:
- name: Website - name: Website
description: Website Preview description: Website Preview
port: 8080 port: 8080
onOpen: open-preview onOpen: notify
# vscode IDE setup # vscode IDE setup
vscode: vscode:
extensions: extensions:
- vadimcn.vscode-lldb - vadimcn.vscode-lldb
- cschleiden.vscode-github-actions - cschleiden.vscode-github-actions
- rust-lang.rust - rust-lang.rust-analyzer
- bungcip.better-toml - bungcip.better-toml
- serayuzgur.crates - serayuzgur.crates
- usernamehw.errorlens - usernamehw.errorlens
@ -26,7 +27,6 @@ vscode:
- stylelint.vscode-stylelint - stylelint.vscode-stylelint
- dbaeumer.vscode-eslint - dbaeumer.vscode-eslint
- evgeniypeshkov.syntax-highlighter - evgeniypeshkov.syntax-highlighter
- redhat.vscode-yaml
- ms-azuretools.vscode-docker - ms-azuretools.vscode-docker
- Catppuccin.catppuccin-vsc - Catppuccin.catppuccin-vsc
- PKief.material-icon-theme - PKief.material-icon-theme