Skip to content
This repository has been archived by the owner on Oct 27, 2021. It is now read-only.

rb-de0/Swallow

Repository files navigation

Swift 3.0 Platform Linux, OSX Build Status

Swallow

Swallow is a simple stub manager using Swift

Prerequisites

Swift

  • Swift 3.0 Release

macOS

  • OS X El Captain 10.11.6

Linux

  • Ubuntu 14.04

USAGE

Download

$ git clone https://github.com/rb-de0/Swallow

Build

Standard

# Linux
$ swift build -Xlinker -L/usr/lib

# OS X/mac OS
$ swift build -Xlinker -L/usr/local/lib -Xcc -I/usr/local/include -Xcc -I/usr/local/include/mysql

Toolbox

$ vapor build

Generate xcode project

Standard

# Linux
$ swift package generate-xcodeproj -Xlinker -L/usr/lib

# OS X/mac OS
$ swift package generate-xcodeproj -Xswiftc -I/usr/local/include/mysql -Xswiftc -I/usr/local/include -Xlinker -L/usr/local/lib

Toolbox

$ vapor xcode

Run

bash

$ .build/debug/App

Xcode

Press Command + R to build & run.

LICENSE

Swallow is released under the MIT License. See the license file for more info.