Skip to content
This repository has been archived by the owner on Jul 13, 2023. It is now read-only.

Commit

Permalink
Merge pull request #17 from mapbox/namespace-assert-http
Browse files Browse the repository at this point in the history
namespace-prefix assert-http
  • Loading branch information
springmeyer committed Dec 3, 2016
2 parents 7d081e4 + 3bb864a commit 8c9f8cb
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -63,7 +63,7 @@ The `test` step does two things:
- vector-tile-query - [![Build Status](https://secure.travis-ci.org/mapbox/vector-tile-query.svg?branch=master)](http://travis-ci.org/mapbox/vector-tile-query) | [![Dependencies](https://david-dm.org/mapbox/vector-tile-query.svg)](https://david-dm.org/mapbox/vector-tile-query)
- tilelive-mapnik - [![Build Status](https://secure.travis-ci.org/mapbox/tilelive-mapnik.svg?branch=master)](http://travis-ci.org/mapbox/tilelive-mapnik) | [![Dependencies](https://david-dm.org/mapbox/tilelive-mapnik.svg)](https://david-dm.org/mapbox/tilelive-mapnik)
- landspeed.js - [![Build Status](https://secure.travis-ci.org/mapbox/landspeed.js.svg?branch=master)](http://travis-ci.org/mapbox/landspeed.js) | [![Dependencies](https://david-dm.org/mapbox/landspeed.js.svg)](https://david-dm.org/mapbox/landspeed.js)
- assert-http - [![Build Status](https://secure.travis-ci.org/mapbox/assert-http.svg?branch=master)](http://travis-ci.org/mapbox/assert-http) | [![Dependencies](https://david-dm.org/mapbox/assert-http.svg)](https://david-dm.org/mapbox/assert-http)
- @mapbox/assert-http - [![Build Status](https://secure.travis-ci.org/mapbox/assert-http.svg?branch=master)](http://travis-ci.org/mapbox/assert-http) | [![Dependencies](https://david-dm.org/mapbox/assert-http.svg)](https://david-dm.org/mapbox/assert-http)
- mapnik-pool - [![Build Status](https://secure.travis-ci.org/mapbox/mapnik-pool.svg?branch=master)](http://travis-ci.org/mapbox/mapnik-pool) | [![Dependencies](https://david-dm.org/mapbox/mapnik-pool.svg)](https://david-dm.org/mapbox/mapnik-pool)
- geojson-mapnikify - [![Build Status](https://secure.travis-ci.org/mapbox/geojson-mapnikify.svg?branch=master)](http://travis-ci.org/mapbox/geojson-mapnikify) | [![Dependencies](https://david-dm.org/mapbox/geojson-mapnikify.svg)](https://david-dm.org/mapbox/geojson-mapnikify)
- tilelive-overlay - [![Build Status](https://secure.travis-ci.org/mapbox/tilelive-overlay.svg?branch=master)](http://travis-ci.org/mapbox/tilelive-overlay) | [![Dependencies](https://david-dm.org/mapbox/tilelive-overlay.svg)](https://david-dm.org/mapbox/tilelive-overlay)
Expand Down
24 changes: 20 additions & 4 deletions install-dev.sh
Expand Up @@ -19,14 +19,30 @@ Anyone have better ideas of how to do this?
TODO: try `npm update`: https://docs.npmjs.com/cli/update
'
for i in $(ls node_modules/); do
(
cd node_modules/$i
DEVDEPS=$(node ../../get-dev-deps.js)

DEVDEPS_SCRIPT=$(pwd)/get-dev-deps.js

function build() {
DEVDEPS=$(node ${DEVDEPS_SCRIPT})
if [[ ! $DEVDEPS == "" ]]; then
echo "$(pwd):"
echo " installing '$DEVDEPS'"
npm install $DEVDEPS
fi
}

for i in $(ls node_modules/); do
(
cd node_modules/$i
if [[ $i == '@mapbox' ]]; then
for j in $(ls ./); do
(
cd $j
build
)
done
else
build
fi
)
done
2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -22,7 +22,7 @@
"tilelive-mapnik": "https://github.com/mapbox/tilelive-mapnik/tarball/master",
"mapnik-omnivore": "https://github.com/mapbox/mapnik-omnivore/tarball/master",
"vector-tile-query": "https://github.com/mapbox/vector-tile-query/tarball/master",
"assert-http": "https://github.com/mapbox/assert-http/tarball/master",
"@mapbox/assert-http": "https://github.com/mapbox/assert-http/tarball/master",
"landspeed": "https://github.com/mapbox/landspeed.js/tarball/master",
"tilelive-vector": "https://github.com/mapbox/tilelive-vector/tarball/master",
"mapnik-pool": "https://github.com/mapbox/mapnik-pool/tarball/master",
Expand Down

0 comments on commit 8c9f8cb

Please sign in to comment.