diff --git a/justfile b/justfile index d38a29d..0f0aa5a 100644 --- a/justfile +++ b/justfile @@ -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 @@ -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