travis
This commit is contained in:
parent
3e5b054534
commit
9645fcea79
|
@ -9,5 +9,5 @@ install:
|
||||||
- eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/02090c7ede5a637b76e6df1710e83cd0bbe7dcdf/swiftenv-install.sh)"
|
- eval "$(curl -sL https://gist.githubusercontent.com/kylef/5c0475ff02b7c7671d2a/raw/02090c7ede5a637b76e6df1710e83cd0bbe7dcdf/swiftenv-install.sh)"
|
||||||
- bash ./setup_env.sh
|
- bash ./setup_env.sh
|
||||||
script:
|
script:
|
||||||
- swift build
|
- if [[ "$(uname)" == "Darwin" ]]; then swift build -Xcc -I/usr/local/include; else swift build -Xcc -I/usr/include; fi
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,6 @@
|
||||||
|
#ifndef zmw_swift_h
|
||||||
|
#define zmw_swift_h
|
||||||
|
|
||||||
|
#import <zmq.h>
|
||||||
|
|
||||||
|
#endif
|
|
@ -1,5 +1,5 @@
|
||||||
module CZeroMQ {
|
module CZeroMQ {
|
||||||
header "/usr/local/include/zmq.h"
|
header "czeromq.h"
|
||||||
link "zmq"
|
link "zmq"
|
||||||
export *
|
export *
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue