forked from tilemill-project/tilemill
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.ndistro
69 lines (62 loc) · 1.89 KB
/
.ndistro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# require ds fork of ndistro
# https://github.com/developmentseed/ndistro/raw/master/bin/ndistro
node 0.2.6 source
# module | github repo | tag | alias
module senchalabs connect 0.3.0
module visionmedia express 1.0.0
module learnboost knox 0.0.2
module isaacs sax-js v0.1.1
module creationix step v0.0.3
module visionmedia expresso 0.7.2
module documentcloud backbone 0.3.3
module documentcloud underscore 1.1.4
module coopernurse node-pool 1.0.4
module willwhite node-worker 0.0.1
module felixge node-dirty v0.9.1
module mapbox carto 0.1.0
module tmcw node-get 0.0.3
# client-side only
module marijnh CodeMirror v0.93
module developmentseed openlayers_slim v1.9
module headjs headjs v0.8
module andyet ICanHaz.js v0.7
module jaz303 tipsy v1.0.0a
# #needs tag
module garycourt JSV
module douglascrockford JSON-js
module dankogai js-base64
module mapbox tilelive.js
module mapbox map-utils
# built modules
module mapnik node-mapnik 0.2.7 mapnik
module springmeyer node-srs 0.1.1 srs
module springmeyer node-zipfile 0.1.5 zipfile
module willwhite node-sqlite blobbuild-combined sqlite
module kkaefer node-compress master compress
# download and install a resource
resource() {
local path=$1
local url=$2
local type=$3
local file=`echo $url | grep -o "[a-zA-Z0-9_]*.$type"`
if ! [ -d $path ]; then
log "fetching $path"
mkdir -p $path
if test $type = 'zip'; then
$GET $url > $file && \
unzip -q -d $path $file && \
rm $file
elif test $type = 'tar'; then
cd $path
$GET $url | \
tar -xz --strip 1
cd $ROOT
fi
else
log "already fetched $path"
fi
}
# resource | path | url | file type
resource files/resources http://tilemill-data.s3.amazonaws.com/tilemill_resources.zip zip
resource files/project https://github.com/mapbox/tilemill_examples/tarball/0.1.1 tar
resource files/data http://tilemill-data.s3.amazonaws.com/example_data.zip zip