-
Notifications
You must be signed in to change notification settings - Fork 0
Building Voodoo
Build Voodoo is quite simple. The build and all of Voodoos dependencies are handled via the Swift Package Manager (SPM) which makes it a relatively simple process.
If you are using Voodoo as a server in XCtests, just add it as a package dependency to you test targert.
You probably already have them but if not, in order to build Voodoo you will need a Swift development environment and the Git version control system. The Swift development environment comes with Xcode for Macs and via a variety of install methods for other platforms on the Swift.org page.
Next you will need to check out the Voodoo source from this repository:
$ git clone https://github.com/drekka/VoodooThe build itself could not be simpler:
$ swift build --configuration releaseThis will download all of Voodoo's dependencies and then built Voodoo itself. The --configuration argument is not required, it's just telling Swift to do a release build of Voodoo rather than a developer's debug build.
When it's finished (it will take a few minutes) the voodoo command line program will be created in the .build/release directory. As it's fully self contained you can move it to wherever you like. /usr/bin for example.