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
; Large-scale mapping build spec. | |
;; GeoPHP | |
libraries[geoPHP][download][type] = "git" | |
libraries[geoPHP][download][url] = "https://github.com/phayes/geoPHP.git" | |
libraries[geoPHP][download][revision] = "0aae7c3" | |
projects[geophp][version] = "1.7" | |
;; Geocoder |
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
$conf['environment_indicator_overwrite'] = TRUE; | |
$conf['environment_indicator_overwritten_name'] = 'LOCAL DEV'; | |
$conf['environment_indicator_overwritten_color'] = '#336633'; | |
$conf['environment_indicator_overwritten_position'] = 'top'; |
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
cd $PROJECT_ROOT/$PROFILE | |
# rebuild project | |
drush make --contrib-destination=. --no-core -y --projects=$PROJECT_LIST ./$PROFILE.make | |
# rebuild library | |
drush make --contrib-destination=. --no-core -y --libraries=$LIBRARY_LIST ./$PROFILE.make | |
# ${PROJECT|LIBRARY}_LIST can be comma-separated for multiples. |
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
<?php | |
$directories = glob('/var/www/dev/*'); | |
foreach ($directories as $directory) { | |
$name = array_pop(explode('/', $directory)); | |
$aliases[$name] = array( | |
'uri' => "http://$name.dev", | |
'root' => $directory, | |
); |