Skip to content

Commit

Permalink
chore: moved dummy plugins into test-plugins folder
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickjcasey committed Nov 5, 2024
1 parent be226d7 commit 8ee18c1
Show file tree
Hide file tree
Showing 19 changed files with 6 additions and 1,322 deletions.
35 changes: 0 additions & 35 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 2 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@ members = [
"hipcheck",
"hipcheck-macros",
"xtask",
"plugins/dummy_rand_data_sdk",
"plugins/dummy_rand_data",
"plugins/dummy_sha256",
"plugins/dummy_sha256_sdk",
"test-plugins/dummy_rand_data",
"test-plugins/dummy_sha256",
"sdk/rust",
"hipcheck-sdk-macros",
"plugins/git",
Expand Down
2 changes: 0 additions & 2 deletions hipcheck/src/cli.rs
Original file line number Diff line number Diff line change
Expand Up @@ -929,8 +929,6 @@ impl TryFrom<Vec<String>> for RepoCacheDeleteScope {
pub struct PluginArgs {
#[arg(long = "async")]
pub asynch: bool,
#[arg(long = "sdk")]
pub sdk: bool,
}

/// The format to report results in.
Expand Down
13 changes: 2 additions & 11 deletions hipcheck/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -548,17 +548,8 @@ fn cmd_plugin(args: PluginArgs) {

let tgt_dir = "./target/debug";

let (entrypoint1, entrypoint2) = match args.sdk {
true => (
pathbuf![tgt_dir, "dummy_rand_data_sdk"],
pathbuf![tgt_dir, "dummy_sha256_sdk"],
),
false => (
pathbuf![tgt_dir, "dummy_rand_data"],
pathbuf![tgt_dir, "dummy_sha256"],
),
};

let entrypoint1 = pathbuf![tgt_dir, "dummy_rand_data"];
let entrypoint2 = pathbuf![tgt_dir, "dummy_sha256"];
let plugin1 = Plugin {
name: "dummy/rand_data".to_owned(),
entrypoint: entrypoint1.display().to_string(),
Expand Down
22 changes: 0 additions & 22 deletions plugins/dummy_rand_data/Cargo.toml

This file was deleted.

6 changes: 0 additions & 6 deletions plugins/dummy_rand_data/build.rs

This file was deleted.

3 changes: 0 additions & 3 deletions plugins/dummy_rand_data/schema/query_schema_get_rand.json

This file was deleted.

239 changes: 0 additions & 239 deletions plugins/dummy_rand_data/src/main.rs

This file was deleted.

Loading

0 comments on commit 8ee18c1

Please sign in to comment.