Commit Graph

30 Commits

Author SHA1 Message Date
Bruno de Oliveira Abinader
bfd5ad3220 [gyp] Coverage only if BUILDTYPE=Debug and ENABLE_COVERAGE=1
Coverage compiler and linker flags are used only when (1) in debug build
and (2) with ENABLE_COVERAGE set to 1. Besides, because OS X's libtool
is unable to understand '--coverage', this linker flag is only used
genrating executable targets. Also, using 'link_settings' to specify
linker options and separate instructions for OSX and Linux.
2016-02-21 17:22:26 +02:00
Bruno de Oliveira Abinader
1dbfbfe7e3 [tests] Upload coverage reports to coveralls.io 2016-02-20 11:43:42 +02:00
Bruno de Oliveira Abinader
6792d78952 [tests] Use ENABLE_COVERAGE=1 envvar to enable coverage
This detaches coverage data collection from typical debug build.
2016-02-19 17:40:30 +02:00
Bruno de Oliveira Abinader
cdfe4e46aa [tests] Added coverage report target 'check'
Issuing 'make check' now collects unit tests coverage data and generates
a report in HTML.
2016-02-18 15:01:58 +02:00
John Firebaugh
13e2acbc75 [ios, osx] Consolidate remaining files in platform/{ios,osx} 2016-02-12 14:53:52 -08:00
Thiago Marcos P. Santos
9413c41ba3 [build] Build offline smoke test for Linux 2016-02-11 17:20:58 +02:00
Bruno de Oliveira Abinader
7bd4745cf1 [core] Fix typo in version-specific host defaults path 2015-12-23 14:53:59 -04:00
Bruno de Oliveira Abinader
908f4d7eb1 [core] Fix build script paths 2015-12-23 14:02:24 -04:00
John Firebaugh
b60b6c47c0 [core] Merge SQLiteCache into the platform library
OfflineFileSource will depend on SQLite too.
2015-12-22 12:09:14 -08:00
John Firebaugh
3d37017c68 [ios, osx] Drop xcpretty
It's buggy and hides necessary diagnostics.
2015-12-21 16:59:35 -08:00
John Firebaugh
7a4e7376e1 Move platform scripts into platforms 2015-12-16 17:49:22 -08:00
Konstantin Käfer
b0bec13601 [build] make sure we're building the config file for node Xcode projects 2015-12-11 16:23:42 -08:00
Konstantin Käfer
249966a9d7 [node] don't go through npm to debug in Xcode 2015-12-09 11:54:04 -08:00
Konstantin Käfer
e12cd6aef4 [build] Add clang-tidy to Travis 2015-12-03 15:38:36 +01:00
Konstantin Käfer
0c8eeea665 [build] add make target "tidy" for running clang-tidy 2015-12-03 12:06:51 +01:00
Konstantin Käfer
678a5ca91e [build] add ninja + compilation database support 2015-12-03 11:13:43 +01:00
Lucas Wojciechowski
da569c266b [node] enable npm to build mapbox-gl-native package from source
This reverts commit 311bf93abe.

more explicit require paths in tests
2015-11-04 11:34:35 -05:00
Mike Morris
79a5a96037 [core] mason geojsonvt-2.1.6.3
- [osx] set -fvisibility-inlines-hidden in gyp/common.gypi to silence
  mismatched visibility linker warnings
- [linux] set cxx_host in GYP_FLAGS to set -fabi-version=0 on gcc builds
  to use clang-built mason binaries
- [ios] update symbol visibility for iOS tests
- [ios] link libgeojsonvt.a in iOS tests xcodeproj
  - add libgeojsonvt.a to General -> Linked Frameworks and Libraries
  - add mason_packages (recursive) to Build Settings -> Library Search Path
- [ios] add libuv and geojsonvt first in iOS libtool smush to ensure symbols
  are found by later compilation units where they are undefined
2015-11-02 18:41:34 -05:00
Leith Bade
abf93c008b [core] Remove bundled styles.
Fixes #2239
2015-10-30 13:09:04 -07:00
Konstantin Käfer
6dd07c3f70 [node] create npm test and npm run test-suite targets 2015-10-26 18:02:29 +01:00
Mike Morris
9173589cc0 [node] include node headers in binding.gyp, undef libuv_cflags 2015-10-26 18:02:29 +01:00
Mike Morris
f6af65770d [node] make task for building node via Xcode 2015-10-26 18:02:29 +01:00
John Firebaugh
15a66b8989 Consolidate test-suite rendering harnesses (#2236) 2015-09-04 10:52:14 -07:00
Mike Morris
45eb197bd3 remove debug logging and whitespace [skip ci] 2015-09-01 16:46:57 -04:00
Mike Morris
0e79d56b09 move package.json and binding.gyp to root, drop tiles.tilejson 2015-09-01 15:51:29 -04:00
John Firebaugh
42efc9a21a Fix NODE_PRE_GYP variable
`cd` outputs the resulting directory, which is not what is desired 
here.
2015-08-31 15:42:04 -07:00
Mike Morris
3fea9d3878 'make node' compiles! 2015-08-25 14:30:13 -04:00
Konstantin Käfer
34dde71c22 never delete intermediate targets 2015-08-19 11:33:23 -04:00
Leith Bade
55fe35af8d Fix xcpretty from swallowing xcodebuild error codes 2015-08-13 20:08:28 +10:00
Konstantin Käfer
e6053aa547 Make build system architecture agnostic to remove Android special case 2015-08-04 14:08:58 +02:00