Update fabfile
This commit is contained in:
parent
8ec63b69a9
commit
5162221da9
1 changed files with 9 additions and 2 deletions
11
fabfile.py
vendored
11
fabfile.py
vendored
|
@ -236,14 +236,19 @@ def collect_remote_statics():
|
||||||
remote_static_dir = '{project_dir}/{project_name}/remote_static'.format(**env)
|
remote_static_dir = '{project_dir}/{project_name}/remote_static'.format(**env)
|
||||||
run_as_umap('mkdir -p {0}'.format(remote_static_dir))
|
run_as_umap('mkdir -p {0}'.format(remote_static_dir))
|
||||||
remote_repositories = {
|
remote_repositories = {
|
||||||
'leaflet': "git://github.com/Leaflet/Leaflet.git@master#v0.6.2",
|
'leaflet': "git://github.com/Leaflet/Leaflet.git@master",
|
||||||
'draw': "git://github.com/Leaflet/Leaflet.draw.git@master#v0.2.1",
|
'draw': "git://github.com/Leaflet/Leaflet.draw.git@master",
|
||||||
'hash': "git://github.com/mlevans/leaflet-hash.git@master",
|
'hash': "git://github.com/mlevans/leaflet-hash.git@master",
|
||||||
'storage': 'git://github.com/yohanboniface/Leaflet.Storage.git@master',
|
'storage': 'git://github.com/yohanboniface/Leaflet.Storage.git@master',
|
||||||
'edit_in_osm': 'git://github.com/yohanboniface/Leaflet.EditInOSM.git@master',
|
'edit_in_osm': 'git://github.com/yohanboniface/Leaflet.EditInOSM.git@master',
|
||||||
'minimap': 'git://github.com/Norkart/Leaflet-MiniMap.git@master',
|
'minimap': 'git://github.com/Norkart/Leaflet-MiniMap.git@master',
|
||||||
'darline': 'git://github.com/yohanboniface/Darline.git@master',
|
'darline': 'git://github.com/yohanboniface/Darline.git@master',
|
||||||
'i18n': 'git://github.com/yohanboniface/Leaflet.i18n.git@master',
|
'i18n': 'git://github.com/yohanboniface/Leaflet.i18n.git@master',
|
||||||
|
'csv2geojson': 'git://github.com/mapbox/csv2geojson.git@gh-pages',
|
||||||
|
'togeojson': 'git://github.com/mapbox/togeojson.git@gh-pages',
|
||||||
|
'osmtogeojson': 'git://github.com/aaronlidman/osm-and-geojson.git@master',
|
||||||
|
'loading': 'git://github.com/ebrelsford/Leaflet.loading.git@master',
|
||||||
|
'contextmenu': 'git://github.com/aratcliffe/Leaflet.contextmenu.git@master',
|
||||||
}
|
}
|
||||||
with cd(remote_static_dir):
|
with cd(remote_static_dir):
|
||||||
for subdir, path in remote_repositories.iteritems():
|
for subdir, path in remote_repositories.iteritems():
|
||||||
|
@ -261,3 +266,5 @@ def collect_remote_statics():
|
||||||
run_as_umap('git clone {0} {1}'.format(repository, subdir))
|
run_as_umap('git clone {0} {1}'.format(repository, subdir))
|
||||||
with cd(subdir):
|
with cd(subdir):
|
||||||
run_as_umap('git checkout {0}'.format(ref))
|
run_as_umap('git checkout {0}'.format(ref))
|
||||||
|
if subdir == "leaflet":
|
||||||
|
run_as_umap('jake build')
|
||||||
|
|
Loading…
Reference in a new issue