Skip to content

Commit

Permalink
Removing toolchain installation from justfile
Browse files Browse the repository at this point in the history
  • Loading branch information
kubaplas committed Jan 22, 2024
1 parent dbc75f1 commit 23c45af
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 0 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -32,15 +32,13 @@ test-workspace-generation-on-future-odra:

test-testproject:
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
cd testproject && cargo odra test
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
Expand Down
2 changes: 1 addition & 1 deletion src/actions/build.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
//! Module for managing and building backends.
//! Module for managing and building wasm files.
use super::utils;
use crate::{command, errors::Error, log, paths, project::Project};
Expand Down
3 changes: 1 addition & 2 deletions src/actions/update.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ use std::path::PathBuf;

use crate::{cli::UpdateCommand, command, log};

/// Runs `cargo update` on project and backends in .builder* folders.
/// If backend is specified update will be made only in its folder.
/// Runs `cargo update` on the project.
pub fn update_action(_update_command: UpdateCommand, _project_root: PathBuf) {
update_project();
}
Expand Down

0 comments on commit 23c45af

Please sign in to comment.