2023-06-24 13:52:20 -04:00
|
|
|
---
|
|
|
|
image: ubuntu:latest
|
|
|
|
# Commands that will run on workspace start
|
|
|
|
tasks:
|
2023-07-02 01:59:42 -04:00
|
|
|
- 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"
|
2023-06-24 13:52:20 -04:00
|
|
|
# Ports to expose on workspace startup
|
|
|
|
ports:
|
2023-07-02 01:59:42 -04:00
|
|
|
- name: Website
|
|
|
|
description: Website Preview
|
2023-06-30 11:27:26 -04:00
|
|
|
port: 8080
|
2023-07-02 01:59:42 -04:00
|
|
|
onOpen: open-browser
|
2023-06-24 13:52:20 -04:00
|
|
|
# vscode IDE setup
|
|
|
|
vscode:
|
|
|
|
extensions:
|
2023-07-02 01:59:42 -04:00
|
|
|
- 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
|
2023-06-24 13:52:20 -04:00
|
|
|
github:
|
|
|
|
prebuilds:
|
2023-06-30 11:27:26 -04:00
|
|
|
master: true
|
|
|
|
branches: true
|
|
|
|
pullRequests: true
|
|
|
|
pullRequestsFromForks: true
|
|
|
|
addCheck: true
|
|
|
|
addComment: false
|
|
|
|
addBadge: true
|