Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/v0.4.0' into issue-56
Browse files Browse the repository at this point in the history
  • Loading branch information
gdey committed Sep 14, 2017
2 parents bc852c8 + fd1dc91 commit 01d609b
Show file tree
Hide file tree
Showing 46 changed files with 3,469 additions and 775 deletions.
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,12 @@ services:

addons:
postgresql: "9.4"
apt:
packages:
- postgresql-9.4-postgis-2.3

install:
- bash ci/build_bindata.sh
- bash ci/config_postgis.sh

before_deploy:
Expand Down
21 changes: 21 additions & 0 deletions ci/build_bindata.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
#!/bin/bash

set -ex

# uses go-bindata & go-bindata-assetfs to convert the tegola internal viewer static assets into binary
# so they can be compiled into the tegola binary
build_bindata() {
# fetch our bindata tooling
go get -u github.com/jteeuwen/go-bindata/...
go get github.com/elazarl/go-bindata-assetfs/...

# change directory to the location of this script
cd "$(dirname "$0")"
# move to our server directory
cd ../server

# build bindata
go-bindata-assetfs -pkg=server -ignore=.DS_Store static/...
}

build_bindata
173 changes: 0 additions & 173 deletions cmd/tegola/config_bonn.toml

This file was deleted.

32 changes: 0 additions & 32 deletions cmd/tegola/config_landuse.toml

This file was deleted.

Loading

0 comments on commit 01d609b

Please sign in to comment.