From f1def2af5e77981f6ddcfc36e8969395ba7698fd Mon Sep 17 00:00:00 2001 From: Caleb Kleveter Date: Thu, 6 Sep 2018 13:52:19 -0500 Subject: [PATCH] Added note about C module maps to the -p,--playground flag for the install command --- CHANGELOG.md | 2 +- Sources/Ether/Install/Install.swift | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c55958c..8a7b677 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,7 +1,7 @@ ## [2018.09.05] ### Added -- A `-p,--playground` option to the `install` command to install dependencies to an Xcode Playground instead of an SPM project. +- A `-p,--playground` option to the `install` command to install dependencies to an Xcode Playground instead of an SPM project. Playground installs do not support packages the use C module maps. - `-t,--targets` flag to the `install` command, which specifies which targets the new dependency will be added to. ## [2018.08.11] diff --git a/Sources/Ether/Install/Install.swift b/Sources/Ether/Install/Install.swift index 1947eeb..745e650 100644 --- a/Sources/Ether/Install/Install.swift +++ b/Sources/Ether/Install/Install.swift @@ -46,7 +46,8 @@ public final class Install: Command { #if !os(Linux) self.options.append( CommandOption.value(name: "playground", short: "p", help: [ - "The name of the playground to install the package to, if you want to install the package to a playground." + "The name of the playground to install the package to, if you want to install the package to a playground", + "Dependencies that use C module maps are note yet supported. This includes packages such as Swift NIO" ]) ) #endif