Commit 06e38111 authored by Samuel Sirois's avatar Samuel Sirois
Browse files

Add an env.var to tell drush make to ignore checksums

parent 1c878517
Pipeline #6709 failed with stages
in 48 seconds
......@@ -37,6 +37,22 @@ Those are global project parameters mandatory to Drupalizer.
|===
=== Drush make parameters
Those are parameters that will influence the options used for `drush make` command.
|===
|Parameters |Description
|_drush-make-ignore-checksums_
|Ignores package checksums while downloading them if set to True.
Do not use this until you know what you do in a development environment only.
Added here because of a https://www.drupal.org/node/2897344[_situation_] still not resolved.
|===
=== Site settings
|===
......@@ -214,4 +230,4 @@ CAUTION: This command will wipe all the modifications made in the working direct
* _Generate_ the guide style:
$ fab patternlab.build
\ No newline at end of file
$ fab patternlab.build
......@@ -61,6 +61,9 @@ def make(action='install'):
if env.get('always_use_pty', True):
drush_opts += " --working-copy --no-gitinfofile"
if env.get('drush_make_ignore_checksums', True):
drush_opts += " --ignore-checksums"
if not h.fab_exists('local', env.site_root):
local('mkdir {}'.format(env.site_root))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment