Tuesday, June 15, 2010

Drush Make on Windows

Here is a compilation of information (from posts I've found), that when combined got me drush make to work on my windows box.  Windows 7 has some issues with permissions, but I'm looking into that.

Needed to run:

  1. Once GnuWin32 is installed, rename the copy of tar.exe to something else (tar-old.exe). Tar.exe is old and doesn't do the required things for drush_make.  There's more info on tar.exe on the GnuWin32 site (http://gnuwin32.sourceforge.net/packages/gtar.htm)
  2. Copy bsdtar.exe to tar.exe
  3. run the drush make command: drush -v -d make standard.make Test
Here is the standard.make (example):

; This file was auto-generated by drush_make
core = 6.x

projects[] = "drupal"
; Modules
projects[] = "admin_menu"
projects[] = "dhtml_menu"
projects[] = "porterstemmer"
projects[] = "token"