Show
Ignore:
Timestamp:
10/05/11 09:23:24 (2 years ago)
Author:
mbrevda
Message:

closes #5394 - add help text, depricate old publish script, not deleting just yet in case bugs crop up and a module needs to be published in a hurry

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/branches/2.10/package.php

    r12760 r12761  
    11#!/usr/bin/php -q 
    22<?php 
     3/* 
     4 * Copyright 2011 by Schmooze Com., Inc. 
     5 * By installing, copying, downloading, distributing, inspecting or using the  
     6 * materials provided herewith, you agree to all of the terms of use as outlined 
     7 * in our End User Agreement which can be found and reviewed at  
     8 * http://freepbxdistro.org/signup.php?view=tos 
     9 * 
     10 * @author mbrevda@schmoozecom.com 
     11 * 
     12 * options: 
     13 *    -m module name to be packaged. You can pass more than one name 
     14 *    -d debug mode - will echo the commands and not run them 
     15 *    -v verbosity - will echo out the commands AND run them 
     16 * 
     17 */ 
    318 
    419//get cli opts 
     
    1126$vars = getopt('m:d::L::v::'); 
    1227 
     28 
     29//set up some other settings 
     30$vars['rver']     = '2.10'; 
     31$vars['fwbranch']   = 'branches/2.10'; 
     32$vars['fw']     = 'framework'; 
     33$vars['fw_ari']   = 'fw_ari'; 
     34$vars['fw_lang']  = 'fw_langpacks'; 
     35$vars['reldir']   = 'reldir'; 
     36$vars['svn_path'] = 'http://svn.freepbx.org'; 
     37 
    1338//move cli args to longopts for clarity throught the script 
    1439//note: once we depend on 5.3, we can refactor this so that either short 
     
    5075  } 
    5176} 
    52  
    53 //set up some other settings 
    54 $vars['rver']       = '2.10'; 
    55 $vars['fwbranch']     = 'branches/2.10'; 
    56 $vars['fw']       = 'framework'; 
    57 $vars['fw_ari']     = 'fw_ari'; 
    58 $vars['fw_lang']    = 'fw_langpacks'; 
    59 $vars['reldir']     = 'reldir'; 
    60 $vars['svn_path']   = 'http://svn.freepbx.org'; 
    6177 
    6278//ensure we have modules to package