Skip to content

Commit

Permalink
feat: Add GitPod config (#180)
Browse files Browse the repository at this point in the history
Co-authored-by: Igor Papandinas <[email protected]>
  • Loading branch information
prxgr4mm3r and ipapandinas authored Mar 5, 2024
1 parent f6e32e5 commit f1081b5
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .gitpod.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,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"

0 comments on commit f1081b5

Please sign in to comment.