Skip to content

Commit

Permalink
Use brew and apt
Browse files Browse the repository at this point in the history
  • Loading branch information
paulofaria committed Jun 9, 2017
1 parent 61e2f9e commit a63a245
Show file tree
Hide file tree
Showing 71 changed files with 108 additions and 16,651 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,14 @@ dist: trusty
osx_image: xcode8.3
install:
- source ./Scripts/Travis/install.sh

- if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew install zewo/tap/zewo; fi

- if [ "$TRAVIS_OS_NAME" == "linux" ]; then echo "deb [trusted=yes] http://apt.zewo.io ./" | sudo tee --append /etc/apt/sources.list; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get update; fi
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install zewo; fi

- export LD_LIBRARY_PATH="/usr/local/lib:/usr/local/opt/libressl/lib"
script:
- ./Scripts/Travis/build-test.sh Zewo
after_success:
Expand Down
8 changes: 4 additions & 4 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -7,18 +7,18 @@ let package = Package(
targets: [
Target(name: "CHTTPParser"),
Target(name: "CYAJL"),
Target(name: "CDsock"),
Target(name: "CArgon2"),

Target(name: "Core"),
Target(name: "Content", dependencies: ["CYAJL", "Core"]),
Target(name: "Crypto", dependencies: ["Core", "CArgon2"]),
Target(name: "IO", dependencies: ["Core", "CDsock"]),
Target(name: "IO", dependencies: ["Core"]),
Target(name: "JWT", dependencies: ["Crypto", "Content"]),
Target(name: "HTTP", dependencies: ["Content", "IO", "CHTTPParser"]),
],
dependencies: [
.Package(url: "https://github.com/Zewo/Venice.git", majorVersion: 0, minor: 18),
.Package(url: "https://github.com/Zewo/COpenSSL.git", majorVersion: 0, minor: 15),
.Package(url: "https://github.com/Zewo/Venice.git", majorVersion: 0, minor: 19),
.Package(url: "https://github.com/Zewo/CLibtls.git", majorVersion: 2),
.Package(url: "https://github.com/Zewo/CBtls.git", majorVersion: 0, minor: 5),
]
)
204 changes: 0 additions & 204 deletions Sources/CDsock/bthrottler.c

This file was deleted.

0 comments on commit a63a245

Please sign in to comment.