From 841af10f36f9965d25e12bc5f99c49317bcab2e3 Mon Sep 17 00:00:00 2001 From: Bryce Miller Date: Wed, 31 Aug 2022 13:39:24 -0400 Subject: [PATCH] move Swift example --- crates/cli/tests/cli_run.rs | 2 +- .../platform-switching/{swift-platform => }/rocLovesSwift.roc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename examples/platform-switching/{swift-platform => }/rocLovesSwift.roc (64%) diff --git a/crates/cli/tests/cli_run.rs b/crates/cli/tests/cli_run.rs index 5fcb3dccc8..1cf0e79241 100644 --- a/crates/cli/tests/cli_run.rs +++ b/crates/cli/tests/cli_run.rs @@ -418,7 +418,7 @@ mod cli_run { expected_ending:"Roc <3 Rust!\n", use_valgrind: true, }, - platformSwitchingSwift:"platform-switching/swift-platform" => Example { + platformSwitchingSwift:"platform-switching" => Example { filename: "rocLovesSwift.roc", executable_filename: "rocLovesSwift", stdin: &[], diff --git a/examples/platform-switching/swift-platform/rocLovesSwift.roc b/examples/platform-switching/rocLovesSwift.roc similarity index 64% rename from examples/platform-switching/swift-platform/rocLovesSwift.roc rename to examples/platform-switching/rocLovesSwift.roc index 9413607c5a..8dcf22a97f 100644 --- a/examples/platform-switching/swift-platform/rocLovesSwift.roc +++ b/examples/platform-switching/rocLovesSwift.roc @@ -1,5 +1,5 @@ app "rocLovesSwift" - packages { pf: "main.roc" } + packages { pf: "swift-platform/main.roc" } imports [] provides [main] to pf