Summary: When trying to integrate this into an Xcode project that already included CSSLayout.[c|h], we were getting a linker error. Upon digging in, I found out that Xcode was becoming confused because the imports of the uikit library and the c library are both `#import <CSSLayout/CSSLayout.h>`. So, it needed a new name. Reviewed By: emilsjolander Differential Revision: D4162621 fbshipit-source-id: b5f7624eb29f1b9eaebbed5104ec9ea8a12ad2e5
26 lines
734 B
YAML
26 lines
734 B
YAML
# Copyright (c) 2014-present, Facebook, Inc.
|
|
# All rights reserved.
|
|
#
|
|
# This source code is licensed under the BSD-style license found in the
|
|
# LICENSE file in the root directory of this source tree. An additional grant
|
|
# of patent rights can be found in the PATENTS file in the same directory.
|
|
|
|
os: osx
|
|
osx_image: xcode7.3
|
|
language: cpp
|
|
compiler: clang
|
|
|
|
before_install:
|
|
- brew update
|
|
- brew tap facebook/fb
|
|
- brew install buck
|
|
- brew outdated xctool || brew upgrade xctool
|
|
|
|
script:
|
|
- buck test //:CSSLayout
|
|
- buck test //java:java
|
|
- buck test //CSSLayoutKit:CSSLayoutKit --config cxx.default_platform=iphonesimulator-x86_64
|
|
- buck run //benchmark:benchmark
|
|
- git checkout HEAD^
|
|
- buck run //benchmark:benchmark
|