-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add vtzero 07fe353
- Loading branch information
Carol Hansen
authored
Oct 27, 2017
1 parent
411083d
commit c3991c4
Showing
2 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
language: generic | ||
|
||
matrix: | ||
include: | ||
- os: linux | ||
sudo: false | ||
|
||
script: | ||
- ./mason build ${MASON_NAME} ${MASON_VERSION} | ||
|
||
after_success: | ||
- ./mason publish ${MASON_NAME} ${MASON_VERSION} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
#!/usr/bin/env bash | ||
|
||
MASON_NAME=vtzero | ||
MASON_VERSION=07fe353 | ||
MASON_HEADER_ONLY=true | ||
|
||
. ${MASON_DIR}/mason.sh | ||
|
||
function mason_load_source { | ||
mason_download \ | ||
https://github.com/mapbox/vtzero/tarball/${MASON_VERSION} \ | ||
e2987367cc80a3e202ad0e7e27d3367d2c2a4bab | ||
|
||
mason_extract_tar_gz | ||
|
||
export MASON_BUILD_PATH=${MASON_ROOT}/.build/mapbox-vtzero-${MASON_VERSION} | ||
} | ||
|
||
function mason_compile { | ||
mkdir -p ${MASON_PREFIX}/include/ | ||
cp -r include/vtzero ${MASON_PREFIX}/include/vtzero | ||
} | ||
|
||
function mason_cflags { | ||
echo "-I${MASON_PREFIX}/include" | ||
} | ||
|
||
function mason_ldflags { | ||
: | ||
} | ||
|
||
|
||
mason_run "$@" |