Skip to content

Commit

Permalink
Fix for workspace tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kubaplas committed Jan 9, 2024
1 parent 635ccb1 commit 7544ffe
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,12 @@ test-project-generation-on-future-odra:
just test-testproject

test-workspace-generation-on-stable-odra:
rm -rf testworkspace
rm -rf testproject
cargo odra new --name testproject --template workspace
just test-testproject
just test-workspace-project

test-workspace-generation-on-future-odra:
rm -rf testworkspace
rm -rf testproject
cargo odra new --name testproject --template workspace --source {{DEVELOPMENT_ODRA_BRANCH}}
just test-testproject

Expand All @@ -38,6 +38,14 @@ test-testproject:
cd testproject && cargo odra test -b casper
cd testproject && cargo odra clean

test-workspace-project:
cd testproject && rustup target add wasm32-unknown-unknown
cd testproject && rustup component add rustfmt --toolchain nightly-2023-03-01-x86_64-unknown-linux-gnu
cd testproject && cargo odra generate -c plascoin -m flipper
cd testproject && cargo odra test
cd testproject && cargo odra test -b casper
cd testproject && cargo odra clean

clippy:
cargo clippy --all-targets -- -D warnings

Expand Down

0 comments on commit 7544ffe

Please sign in to comment.