Skip to content

Instantly share code, notes, and snippets.

@mlutfy
Last active December 15, 2015 19:19
Show Gist options
  • Save mlutfy/5310366 to your computer and use it in GitHub Desktop.
Save mlutfy/5310366 to your computer and use it in GitHub Desktop.
Drush makefile for CiviCRM using git
; A drush makefile for CiviCRM.
; Call using:
; drush make --working-copy civicrm.make
; drush make API version
api = 2
; Drupal core
core = 7.x
; ****************************************
; Drupal core
; ****************************************
projects[] = drupal
;****************************************
; CiviCRM core
;****************************************
; IMPORTANT: replace "mlutfy" by your own fork of CiviCRM.
; This will make it easier to submit pull-requests for patches.
; see: http://wiki.civicrm.org/confluence/display/CRMDOC/Github+for+CiviCRM
libraries[civicrmdrupal][destination] = modules
libraries[civicrmdrupal][directory_name] = civicrm/drupal
libraries[civicrmdrupal][download][type] = git
libraries[civicrmdrupal][download][url] = git://github.com/mlutfy/civicrm-drupal.git
libraries[civicrmdrupal][download][branch] = 7.x-master
libraries[civicrmdrupal][overwrite] = TRUE
libraries[civicrmpackages][destination] = modules
libraries[civicrmpackages][directory_name] = civicrm/packages
libraries[civicrmpackages][download][type] = git
libraries[civicrmpackages][download][url] = git://github.com/mlutfy/civicrm-packages.git
libraries[civicrmpackages][overwrite] = TRUE
; Download available l10n releases (may be outdated)
libraries[civicrm_l10n][destination] = modules
libraries[civicrm_l10n][directory_name] = civicrm/l10n/fr_CA/LC_MESSAGES/
libraries[civicrm_l10n][download][type] = get
libraries[civicrm_l10n][download][url] = "https://raw.github.com/civicrm/l10n/master/po/fr_CA/civicrm.mo"
libraries[civicrm_l10n][overwrite] = TRUE
; ; Overwrite .mo files with latest version from SVN
; libraries[civicrm_l10n_latest][destination] = modules
; libraries[civicrm_l10n_latest][directory_name] = civicrm/l10n
; libraries[civicrm_l10n_latest][download][type] = svn
; libraries[civicrm_l10n_latest][download][url] = http://svn.civicrm.org/l10n/trunk/
; libraries[civicrm_l10n_latest][overwrite] = TRUE
libraries[civicrm][destination] = modules
libraries[civicrm][directory_name] = civicrm
libraries[civicrm][download][type] = git
libraries[civicrm][download][url] = git://github.com/mlutfy/civicrm-core.git
libraries[civicrm][overwrite] = TRUE
; libraries[civicrm][download][tag] = 4.3.1
;****************************************
; Modules
;****************************************
projects[civicrm_error][subdir] = contrib
projects[civicrm_error][version] = 2.0-rc3
projects[webform_civicrm][subdir] = contrib
projects[webform_civicrm][version] = 3.4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment