Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
104 lines (86 sloc)
6.51 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mz-docs: | |
php -q ./bin/mk_mapzen_docs.php > docs/index.md | |
php -q ./bin/mk_mapzen_docs.php --page methods --endpoint "$(ENDPOINT)" --api_key "$(API_KEY)" --access_token "$(ACCESS_TOKEN)" --examples > docs/methods.md | |
php -q ./bin/mk_mapzen_docs.php --page formats > docs/formats.md | |
php -q ./bin/mk_mapzen_docs.php --page pagination > docs/pagination.md | |
php -q ./bin/mk_mapzen_docs.php --page errors > docs/errors.md | |
templates: | |
php -q ./bin/compile-templates.php | |
secret: | |
php -q ./bin/generate_secret.php | |
countries: | |
php -q ./bin/mk_countries.php | |
setup: | |
if test ! -f www/include/secrets.php; then cp www/include/secrets.php.example www/include/secrets.php; fi | |
ubuntu/setup-ubuntu.sh | |
ubuntu/setup-flamework.sh | |
ubuntu/setup-certified.sh | |
sudo ubuntu/setup-certified-ca.sh | |
sudo ubuntu/setup-certified-certs.sh | |
bin/configure_secrets.sh . | |
ubuntu/setup-db.sh wof_api wof_api | |
setup-nossl: | |
if test ! -f www/include/secrets.php; then cp www/include/secrets.php.example www/include/secrets.php; fi | |
ubuntu/setup-ubuntu.sh | |
ubuntu/setup-flamework.sh | |
bin/configure_secrets.sh . | |
ubuntu/setup-db.sh wof_api wof_api | |
ubuntu/setup-apache-conf.sh nossl | |
mapzen: styleguide favicons mapzenjs refill | |
styleguide: | |
curl -s -o www/css/mapzen.styleguide.css https://mapzen.com/common/styleguide/styles/styleguide.css | |
curl -s -o www/css/mapzen.website.css https://mapzen.com/common/styleguide/styles/website.css | |
curl -s -o www/javascript/mapzen.styleguide.min.js https://mapzen.com/common/styleguide/scripts/mapzen-styleguide.min.js | |
curl -s -o www/common/styleguide/images/background/contour_darkpurple2_lg.png https://mapzen.com/common/styleguide/images/background/contour_darkpurple2_lg.png | |
favicons: | |
curl -s -o www/images/favicons/apple-touch-icon.png https://mapzen.com/common/styleguide/images/favicons/apple-touch-icon.png | |
curl -s -o www/images/favicons/favicon-16x16.png https://mapzen.com/common/styleguide/images/favicons/favicon-16x16.png | |
curl -s -o www/images/favicons/favicon-32x32.png https://mapzen.com/common/styleguide/images/favicons/favicon-32x32.png | |
curl -s -o www/images/favicons/manifest.json https://mapzen.com/common/styleguide/images/favicons/manifest.json | |
curl -s -o www/images/favicons/safari-pinned-tab.svg https://mapzen.com/common/styleguide/images/favicons/safari-pinned-tab.svg | |
tangram: | |
curl -s -o www/javascript/tangram.js https://mapzen.com/tangram/tangram.debug.js | |
curl -s -o www/javascript/tangram.min.js https://mapzen.com/tangram/tangram.min.js | |
refill: | |
curl -s -o www/tangram/refill-style.zip https://mapzen.com/carto/refill-style/refill-style.zip | |
mapzenjs: | |
#curl -s -o www/css/mapzen.js.css https://mapzen.com/js/mapzen.css | |
#curl -s -o www/javascript/mapzen.js https://mapzen.com/js/mapzen.js | |
#curl -s -o www/javascript/mapzen.min.js https://mapzen.com/js/mapzen.min.js | |
whosonfirstjs: | |
curl -s -o www/javascript/mapzen.whosonfirst.uri.js https://raw.githubusercontent.com/whosonfirst/js-mapzen-whosonfirst/master/src/mapzen.whosonfirst.uri.js | |
curl -s -o www/javascript/mapzen.places.api.js https://raw.githubusercontent.com/whosonfirst/js-mapzen-whosonfirst/master/src/mapzen.places.api.js | |
curl -s -o www/javascript/mapzen.whosonfirst.geojson.js https://raw.githubusercontent.com/whosonfirst/js-mapzen-whosonfirst/master/src/mapzen.whosonfirst.geojson.js | |
chrome: | |
curl -s -o www/css/mapzen.whosonfirst.chrome.css https://raw.githubusercontent.com/whosonfirst/css-mapzen-whosonfirst/master/css/mapzen.whosonfirst.chrome.css | |
curl -s -o www/javascript/mapzen.whosonfirst.chrome.js https://raw.githubusercontent.com/whosonfirst/js-mapzen-whosonfirst/master/src/mapzen.whosonfirst.chrome.js | |
curl -s -o www/javascript/mapzen.whosonfirst.chrome.init.js https://raw.githubusercontent.com/whosonfirst/js-mapzen-whosonfirst/master/src/mapzen.whosonfirst.chrome.init.js | |
whosonfirst: | |
curl -s -o www/include/lib_whosonfirst_brands_sizes.php https://raw.githubusercontent.com/whosonfirst/flamework-whosonfirst/master/www/include/lib_whosonfirst_brands_sizes.php | |
curl -s -o www/include/lib_whosonfirst_brands_sizes_spec.php https://raw.githubusercontent.com/whosonfirst/flamework-whosonfirst/master/www/include/lib_whosonfirst_brands_sizes_spec.php | |
curl -s -o www/include/lib_whosonfirst_placetypes.php https://raw.githubusercontent.com/whosonfirst/flamework-whosonfirst/master/www/include/lib_whosonfirst_placetypes.php | |
curl -s -o www/include/lib_whosonfirst_placetypes_spec.php https://raw.githubusercontent.com/whosonfirst/flamework-whosonfirst/master/www/include/lib_whosonfirst_placetypes_spec.php | |
curl -s -o www/include/lib_whosonfirst_sources.php https://raw.githubusercontent.com/whosonfirst/flamework-whosonfirst/master/www/include/lib_whosonfirst_sources.php | |
curl -s -o www/include/lib_whosonfirst_sources_spec.php https://raw.githubusercontent.com/whosonfirst/flamework-whosonfirst/master/www/include/lib_whosonfirst_sources_spec.php | |
curl -s -o www/include/lib_whosonfirst_uri.php https://raw.githubusercontent.com/whosonfirst/flamework-whosonfirst/master/www/include/lib_whosonfirst_uri.php | |
leaflet-locate: | |
curl -s -o www/javascript/L.Control.Locate.min.js https://raw.githubusercontent.com/domoritz/leaflet-locatecontrol/gh-pages/dist/L.Control.Locate.min.js | |
curl -s -o www/javascript/L.Control.Locate.js https://raw.githubusercontent.com/domoritz/leaflet-locatecontrol/gh-pages/src/L.Control.Locate.js | |
curl -s -o www/css/L.Control.Locate.css https://raw.githubusercontent.com/domoritz/leaflet-locatecontrol/gh-pages/dist/L.Control.Locate.css | |
curl -s -o www/css/L.Control.Locate.min.css https://raw.githubusercontent.com/domoritz/leaflet-locatecontrol/gh-pages/dist/L.Control.Locate.min.css | |
LEAFLET_MARKERCLUSTER_VERSION = 1.1.0 | |
leaflet-markercluster: | |
curl -s -L -o /tmp/leaflet-markercluster.zip https://github.com/Leaflet/Leaflet.markercluster/archive/v$(LEAFLET_MARKERCLUSTER_VERSION).zip | |
unzip -q /tmp/leaflet-markercluster.zip -d /tmp | |
cp /tmp/Leaflet.markercluster-$(LEAFLET_MARKERCLUSTER_VERSION)/dist/leaflet.markercluster.js www/javascript/leaflet.markercluster.min.js | |
cp /tmp/Leaflet.markercluster-$(LEAFLET_MARKERCLUSTER_VERSION)/dist/leaflet.markercluster-src.js www/javascript/leaflet.markercluster.js | |
cp /tmp/Leaflet.markercluster-$(LEAFLET_MARKERCLUSTER_VERSION)/dist/MarkerCluster.css www/css/leaflet.markercluster.css | |
cp /tmp/Leaflet.markercluster-$(LEAFLET_MARKERCLUSTER_VERSION)/dist/MarkerCluster.Default.css www/css/leaflet.markercluster.default.css | |
rm -rf /tmp/Leaflet.markercluster-$(LEAFLET_MARKERCLUSTER_VERSION) | |
rm /tmp/leaflet-markercluster.zip | |
dev-to-master: | |
git checkout master | |
git pull origin dev | |
git push origin master | |
git checkout dev | |
d2m: dev-to-master |