mirror of
https://github.com/neon-mmd/websurfx.git
synced 2024-11-22 22:18:23 -05:00
46 lines
1.2 KiB
YAML
46 lines
1.2 KiB
YAML
|
---
|
||
|
image: ubuntu:latest
|
||
|
# Commands that will run on workspace start
|
||
|
tasks:
|
||
|
- name: Setup, Install & Build
|
||
|
- before: apt install cargo redis-server nodejs npm && cargo test
|
||
|
- init: cargo install cargo-watch
|
||
|
- command: redis-server --port 8080 & cargo watch -q -w "." -x "run"
|
||
|
# Ports to expose on workspace startup
|
||
|
ports:
|
||
|
- port: 8080
|
||
|
- onOpen: open-preview
|
||
|
- name: Website
|
||
|
- description: Website Preview
|
||
|
# vscode IDE setup
|
||
|
vscode:
|
||
|
extensions:
|
||
|
- vadimcn.vscode-lldb
|
||
|
- rust-lang.rust-analyzer
|
||
|
- bungcip.better-toml
|
||
|
- serayuzgur.crates
|
||
|
- usernamehw.errorlens
|
||
|
- DavidAnson.vscode-markdownlint
|
||
|
- esbenp.prettier-vscode
|
||
|
- stylelint.vscode-stylelint
|
||
|
- dbaeumer.vscode-eslint
|
||
|
- evgeniypeshkov.syntax-highlighter
|
||
|
- redhat.vscode-yaml
|
||
|
- ms-azuretools.vscode-docker
|
||
|
- GitHub.vscode-github-actions
|
||
|
- Catppuccin.catppuccin-vsc
|
||
|
- PKief.material-icon-theme
|
||
|
- tal7aouy.rainbow-bracket
|
||
|
- oderwat.indent-rainbow
|
||
|
- formulahendry.auto-rename-tag
|
||
|
- eamodio.gitlens
|
||
|
github:
|
||
|
prebuilds:
|
||
|
- master: true
|
||
|
- branches: true
|
||
|
- pullRequests: true
|
||
|
- pullRequestsFromForks: true
|
||
|
- addCheck: true
|
||
|
- addComment: false
|
||
|
- addBadge: true
|