From 56fea8b3202fd8c3155676784d0a64065fd4b644 Mon Sep 17 00:00:00 2001 From: Laurenz Stampfl <47084093+LaurenzV@users.noreply.github.com> Date: Thu, 6 Jun 2024 23:30:57 +0200 Subject: [PATCH] Extract cli into tests folder --- tests/cli/.gitignore | 11 +++++++++++ tests/cli/Cargo.lock | 14 ++++++++++++++ tests/cli/Cargo.toml | 7 +++++++ {src => tests/cli/src}/main.rs | 0 4 files changed, 32 insertions(+) create mode 100644 tests/cli/.gitignore create mode 100644 tests/cli/Cargo.lock create mode 100644 tests/cli/Cargo.toml rename {src => tests/cli/src}/main.rs (100%) diff --git a/tests/cli/.gitignore b/tests/cli/.gitignore new file mode 100644 index 00000000..fb2891e7 --- /dev/null +++ b/tests/cli/.gitignore @@ -0,0 +1,11 @@ +# General +.vscode +_things +desktop.ini +.DS_Store + +# Rust +/target +bench/target +debug +.idea \ No newline at end of file diff --git a/tests/cli/Cargo.lock b/tests/cli/Cargo.lock new file mode 100644 index 00000000..e59497be --- /dev/null +++ b/tests/cli/Cargo.lock @@ -0,0 +1,14 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "cli" +version = "0.1.0" +dependencies = [ + "subsetter", +] + +[[package]] +name = "subsetter" +version = "0.1.1" diff --git a/tests/cli/Cargo.toml b/tests/cli/Cargo.toml new file mode 100644 index 00000000..d3920b24 --- /dev/null +++ b/tests/cli/Cargo.toml @@ -0,0 +1,7 @@ +[package] +name = "cli" +version = "0.1.0" +edition = "2021" + +[dependencies] +subsetter = {path = "../.."} diff --git a/src/main.rs b/tests/cli/src/main.rs similarity index 100% rename from src/main.rs rename to tests/cli/src/main.rs