I'm running Drush under Windows 7 with WAMP. (Yeah, yeah, I know. Windows. sigh.) I see that you can put Make:

- In a .drush folder in your HOME folder. Note, that you have to make the
.drush folder yourself (so you end up with ~/.drush/drush_make/INSTALL.txt).
- In a folder specified with the include option (see above).
- In /path/to/drush/commands (not a Smart Thing, but it would work).

I had some trouble trying to translate these instructions into Windowsese, but ultimately the only one I could to get to work is the include option. Windows won't let me make a folder that starts with a dot.

Is there a place I can put it where it will be recognized automatically? -i is not the end of the world but I'd love not to have to type that every time.

Comments

dmitrig01’s picture

Project: Drush Make » Drush
Version: 6.x-2.0-beta8 » All-versions-3.x-dev

i think this is a drush question

greg.1.anderson’s picture

Status: Active » Closed (duplicate)

This is a duplicate of #892434: Where to place custom drush commands. We need someone to fix command path searching for Windows.

marcvangend’s picture

FYI: There already is a patch to fix the Windows path problem in #845374: POSIX path separator incompatible with Windows environment.

brightbold’s picture

Awesome. I'll give it a try.

greg.1.anderson’s picture

The patch referenced in #3 fixes -i on Windows. The problem in this issue is related but separate.

brightbold’s picture

Did I go for so long without working on this problem that I forgot what my own issue was about? Oh dear.

It discouraging that the issue this is a duplicate of ends with "Thanks but I give up on Drush Make for Windows" but hopefully I'll be able to get it working next time I give it a go.

kvanderw’s picture

#1 I really don't like windows which MAY be reflected in the following comments.
#2 I don't have W7, so cannot address directly
#3 I have never had a problem creating files and directories on windows with a dot as the first character.
#4 I ALWAYS install cygwin as my first exercise in touching anything windows. (It's kinda like putting on a spacesuit before taking a walk on the moon) I really can't seem to live without it.
#5 While I dislike windows to it's very core, I have a client with 30+ instances of Drupal running on windows 2K, 2K3, & 2K8. All work reliably. I didn't say quickly though . Drush is part of our complete stack. While I use Drush Make a lot, I don't believe we have installed it yet on the windows platform. That is for next year when we consolidate 20+ Drupal instances into a Aegir platform running from Windows. Wish me Luck -- LOL

jebbushell’s picture

I'm having this issue even after using ProPeople's Drush installer.