-
Notifications
You must be signed in to change notification settings - Fork 29
/
.gitpod.yml
35 lines (28 loc) · 1.05 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
# This configuration file was automatically generated by Gitpod.
# Please adjust to your needs (see https://www.gitpod.io/docs/introduction/learn-gitpod/gitpod-yaml)
# and commit this file to your remote git repository to share the goodness with others.
# Learn more from ready-to-use templates: https://www.gitpod.io/docs/introduction/getting-started/quickstart
ports:
- name: Swanky Node
port: 9944
vscode:
extensions:
- rust-lang.rust-analyzer
tasks:
- init: |
# Add wasm target
rustup target add wasm32-unknown-unknown
# Add necessary components
rustup component add rust-src
# Install or update cargo packages
cargo install --force --locked cargo-contract
cargo install cargo-dylint dylint-link
yarn install
yarn build
command: |
echo "Swanky Dev Environment ready!"
echo "Use Swanky directly by running \"./bin/run.js COMMAND\""
echo "For example:"
echo "./bin/run.js init temp_project"
echo "cd temp_project"
echo "../bin/run.js contract compile flipper"