generated from yewstack/yew-wasm-pack-template
-
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy path.gitpod.yml
47 lines (43 loc) · 1.5 KB
/
.gitpod.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
tasks:
- init: |
cargo install trunk --git https://github.com/thedodd/trunk.git
cargo install wasm-bindgen-cli
rustup target add wasm32-unknown-unknown
sudo wget -O /usr/local/bin/minify https://wilsonl.in/minify-html/bin/0.8.0-linux-x86_64
sudo chmod +x /usr/local/bin/minify
cargo install minifier
command: |
rustup target add wasm32-unknown-unknown
trunk serve
# List the ports to expose. Learn more https://www.gitpod.io/docs/config-ports/
ports:
- port: 8080
onOpen: open-browser
vscode:
extensions:
- bierner.markdown-preview-github-styles
- sndst00m.markdown-github-dark-pack
- ms-azuretools.vscode-docker
- rust-lang.rust
- pinage404.rust-extension-pack
- belfz.search-crates-io
- webfreak.debug
- Swellaby.vscode-rust-test-adapter
image:
file: .gitpod.Dockerfile
github:
prebuilds:
# enable for the default branch (defaults to true)
master: true
# enable for all branches in this repo (defaults to false)
branches: true
# enable for pull requests coming from this repo (defaults to true)
pullRequests: true
# enable for pull requests coming from forks (defaults to false)
pullRequestsFromForks: true
# add a check to pull requests (defaults to true)
addCheck: true
# add a "Review in Gitpod" button as a comment to pull requests (defaults to false)
addComment: true
# add a "Review in Gitpod" button to the pull request's description (defaults to false)
addBadge: false