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 e05e9f1
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions justfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
DEVELOPMENT_ODRA_BRANCH := "release/0.1.0"
DEVELOPMENT_ODRA_BRANCH := "release/0.8.0"

default:
just --list
Expand All @@ -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 e05e9f1

Please sign in to comment.