Drush Make the mistake "No main project"

I am not familiar with drush. I am creating an installation profile using drush. I used the Profiler module in drupal 7 and got the drupal-org.make file. Now, when I execute drush, I make the drupal-org.make file, drush throws a "No main project" error. Can someone please help.

+4
source share
1 answer

You need to define the β€œmain” module in your make-make file, especially if you are using a custom distribution:

core = 7.x api = 2 projects[l10n_install][type] = core projects[l10n_install][version] = 1.0 

If you do not specify projects[...][type] = core , then drush make uses the latest drupal distribution by default.

You can use the "-v" or "-d" option to debug the drush command that is being executed.

Here is a good introduction to drush-make: http://www.lullabot.com/blog/articles/drush-make-and-pressflow

Please provide a drush-make file if you need further help.

+4
source

Source: https://habr.com/ru/post/1484779/


All Articles