diff --git a/Cargo.lock b/Cargo.lock index 0eab404..241674d 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -346,15 +346,13 @@ dependencies = [ "colored", "demand", "insta", - "spm_core 0.8.0", + "spm_core 0.2.0 (registry+https://github.com/rust-lang/crates.io-index)", "tokio", ] [[package]] name = "spm_core" -version = "0.8.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a6ca6395d4f77daf86fb32aeb3f1d8116fada42eb83fd6f892f1d6d8ebd169c0" +version = "0.2.0" dependencies = [ "clap", "colored", @@ -364,7 +362,9 @@ dependencies = [ [[package]] name = "spm_core" -version = "0.8.1" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "28a6e294b860e1f6fa5f1b5bc05c43ad1b0c830d63f321e4ab75f88887e700fb" dependencies = [ "clap", "colored", diff --git a/crates/cli/Cargo.toml b/crates/cli/Cargo.toml index bd7c510..b2c6dae 100644 --- a/crates/cli/Cargo.toml +++ b/crates/cli/Cargo.toml @@ -13,7 +13,7 @@ demand.workspace = true clap.workspace = true colored.workspace = true tokio.workspace = true -spm_core = "0.8.0" +spm_core = "0.2.0" [dev-dependencies] insta.workspace = true \ No newline at end of file diff --git a/crates/cli/tests/snapshots/header_snapshot_tests__show_header_snapshot.snap b/crates/cli/tests/snapshots/header_snapshot_tests__show_header_snapshot.snap index 09d9f29..4b6d39b 100644 --- a/crates/cli/tests/snapshots/header_snapshot_tests__show_header_snapshot.snap +++ b/crates/cli/tests/snapshots/header_snapshot_tests__show_header_snapshot.snap @@ -5,4 +5,4 @@ snapshot_kind: text --- SPM Swift Package 🚀 You can create your Swift Package via the command line 🔨 -v0.8.0 +v0.8.1 diff --git a/crates/spm_core/Cargo.toml b/crates/spm_core/Cargo.toml index c655051..e8eabd8 100644 --- a/crates/spm_core/Cargo.toml +++ b/crates/spm_core/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "spm_core" -version.workspace = true +version = "0.2.0" edition.workspace = true license.workspace = true authors.workspace = true diff --git a/crates/spm_core/src/domain/file/project_templates.rs b/crates/spm_core/src/domain/file/project_templates.rs index c50e2e4..5d96ca7 100644 --- a/crates/spm_core/src/domain/file/project_templates.rs +++ b/crates/spm_core/src/domain/file/project_templates.rs @@ -52,7 +52,7 @@ let package = Package( targets: ["{}"]), ], dependencies: [ - .package(url: "https://github.com/lukepistrol/SwiftLintPlugin", exact: "0.61.0") + .package(url: "https://github.com/lukepistrol/SwiftLintPlugin", exact: "0.62.2") ], targets: [ // Targets are the basic building blocks of a package, defining a module or a test suite. diff --git a/mise.toml b/mise.toml index 1e838d6..9907165 100644 --- a/mise.toml +++ b/mise.toml @@ -7,7 +7,7 @@ run = "cargo build --release" [tasks.build] run = "cargo build" -[tasks.compile] +[tasks.cli] run = "cargo run" [tasks.test]