Skip to content

Instantly share code, notes, and snippets.

@eggsurplus
Created September 27, 2012 15:49
Show Gist options
  • Save eggsurplus/3794750 to your computer and use it in GitHub Desktop.
Save eggsurplus/3794750 to your computer and use it in GitHub Desktop.
Organizing Files in a Module Zip
'copy' => array (
array (
'from' => '<basepath>/copy/custom/modules/Accounts/MyAwesome_logic_hook.php',
'to' => 'custom/modules/Accounts/MyAwesome_logic_hook.php',
),
array (
'from' => '<basepath>/copy/modules/MyAwesomeModule',
'to' => 'modules/MyAwesomeModule',
),
),
'relationships' => array (
array (
'module' => 'Accounts',
'meta_data' => '<basepath>/relationships/MyAwesomeModule_AccountsMetaData.php',
),
),
'language' => array (
array('from'=> '<basepath>/extensions/modules/Accounts/language/en_us.myawesome.php',
'to_module'=> 'Accounts',
'language'=>'en_us'
),
),
'vardefs' => array (
array (
'from' => '<basepath>/extensions/modules/Accounts/vardefs/myawesomeVardefs.php',
'to_module' => 'Accounts',
),
),
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment