Skip to content

Latest commit

 

History

History
41 lines (26 loc) · 1.16 KB

Installation.md

File metadata and controls

41 lines (26 loc) · 1.16 KB

Lucid - Installation

Run-time

github "[email protected]:scribd/Lucid.git"

In Xcode, File -> Swift Packages -> Add Package Dependency -> Lucid

If you are using LucidTestKit, you'll have to add DISABLE_DIAMOND_PROBLEM_DIAGNOSTIC=YES to your test target's build settings. You can learn more about this issue here.

Compile-time

Binary form

Download the latest release with the prebuilt binary from release tab. Unzip the archive into the desired destination and run bin/lucid

$ brew install lucid

Manually

$ git clone [email protected]:scribd/Lucid.git
$ cd Lucid/CodeGen
$ make install

When installing Lucid runtime with:

  • Carthage - use $ cd Carthage/Checkout/Lucid/CodeGen
  • Cocoapods - use $ cd Pods/Lucid/CodeGen
  • Swift Package Manager - use $ cd .build/checkouts/Lucid/CodeGen