Created
March 10, 2014 20:49
-
-
Save barraponto/9474021 to your computer and use it in GitHub Desktop.
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
root = $(shell pwd) | |
profile = "build/profiles/quequere" | |
all: rebuild link reinstall | |
rebuild: | |
drush kw-b | |
link: | |
rm -rf build/profiles/quequere/modules/{custom,features,kraftwagen} | |
rm -rf build/profiles/quequere/themes/basic/ | |
ln -s ${root}/src/translations build/sites/all/translations | |
ln -s ${root}/src/modules/custom ${profile}/modules/custom | |
ln -s ${root}/src/modules/features ${profile}/modules/features | |
ln -s ${root}/src/modules/kraftwagen ${profile}/modules/kraftwagen | |
ln -s ${root}/src/themes/basic ${profile}/themes/basic | |
reinstall: | |
-drush @quequere.dev kw-id | |
drush @quequere.dev kw-m | |
localize: | |
drush @quequere.dev langadd pt-br | |
drush @quequere.dev langdef pt-br | |
deploy: | |
drush rsync --copy-links @quequere.dev @quequere.staging | |
drush sql-sync --structure-tables-key=common @quequere.dev @quequere.staging | |
drush @quequere.staging cc all | |
import: | |
drush sql-sync --structure-tables-key=common @quequere.staging @quequere.dev | |
drush @quequere.dev cc all |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment