mirror of
https://github.com/o2sh/onefetch
synced 2024-06-28 13:44:36 +00:00
Since cargo-insta is a dependency to manage tests, the dev environment is incomplete if it is not installed.
21 lines
586 B
YAML
21 lines
586 B
YAML
vscode:
|
|
extensions:
|
|
- 'EditorConfig.EditorConfig'
|
|
- 'svelte.svelte-vscode'
|
|
- 'rust-lang.rust-analyzer'
|
|
- 'tamasfe.even-better-toml'
|
|
tasks:
|
|
- name: Install cargo-insta
|
|
init: cargo install cargo-insta
|
|
- name: Build Onefetch
|
|
before: sudo apt install -y cmake
|
|
init: cargo build
|
|
- name: onefetch.dev
|
|
init: cd $GITPOD_REPO_ROOT/docs/vercel && npm install
|
|
command: cd $GITPOD_REPO_ROOT/docs/vercel && npm run dev -- --port 3000
|
|
ports:
|
|
- name: onefetch.dev
|
|
description: Web preview of onefetch ASCII art
|
|
port: 3000
|
|
onOpen: open-preview
|