Skip to content

Commit

Permalink
Vtzero 07fe353 (#503)
Browse files Browse the repository at this point in the history
* Add vtzero 07fe353
  • Loading branch information
Carol Hansen authored Oct 27, 2017
1 parent 411083d commit c3991c4
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 0 deletions.
12 changes: 12 additions & 0 deletions scripts/vtzero/07fe353/.travis.yml
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}
33 changes: 33 additions & 0 deletions scripts/vtzero/07fe353/script.sh
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 "$@"

0 comments on commit c3991c4

Please sign in to comment.