CC-2166: Packaging Improvements. Moved the Zend app into airtime_mvc. It is now installed to /var/www/airtime. Storage is now set to /srv/airtime/stor. Utils are now installed to /usr/lib/airtime/utils/. Added install/airtime-dircheck.php as a simple test to see if everything is install/uninstalled correctly.
This commit is contained in:
parent
514777e8d2
commit
b11cbd8159
4546 changed files with 138 additions and 51 deletions
32
airtime_mvc/library/propel/generator/bin/propel-gen.bat
Executable file
32
airtime_mvc/library/propel/generator/bin/propel-gen.bat
Executable file
|
@ -0,0 +1,32 @@
|
|||
@echo off
|
||||
|
||||
rem *********************************************************************
|
||||
rem ** The Propel generator convenience script for Windows based systems
|
||||
rem ** $Id$
|
||||
rem *********************************************************************
|
||||
|
||||
rem This script will do the following:
|
||||
rem - check for PHING_COMMAND env, if found, use it.
|
||||
rem - if not found detect php, if found use it, otherwise err and terminate
|
||||
rem - check for PROPEL_GEN_HOME env, if found use it
|
||||
rem - if not found error and leave
|
||||
|
||||
if "%OS%"=="Windows_NT" @setlocal
|
||||
|
||||
rem %~dp0 is expanded pathname of the current script under NT
|
||||
set DEFAULT_PROPEL_GEN_HOME=%~dp0..
|
||||
|
||||
if "%PROPEL_GEN_HOME%" == "" set PROPEL_GEN_HOME=%DEFAULT_PROPEL_GEN_HOME%
|
||||
set DEFAULT_PROPEL_GEN_HOME=
|
||||
|
||||
if "%PHING_COMMAND%" == "" set PHING_COMMAND=phing.bat
|
||||
|
||||
set nbArgs=0
|
||||
for %%x in (%*) do Set /A nbArgs+=1
|
||||
if %nbArgs% leq 1 (
|
||||
%PHING_COMMAND% -f "%PROPEL_GEN_HOME%\build.xml" -Dusing.propel-gen=true -Dproject.dir="%CD%" %*
|
||||
) else (
|
||||
%PHING_COMMAND% -f "%PROPEL_GEN_HOME%\build.xml" -Dusing.propel-gen=true -Dproject.dir=%*
|
||||
)
|
||||
|
||||
if "%OS%"=="Windows_NT" @endlocal
|
Loading…
Add table
Add a link
Reference in a new issue