-
Notifications
You must be signed in to change notification settings - Fork 0
/
gen_deployment.bat
executable file
·28 lines (26 loc) · 1.07 KB
/
gen_deployment.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
@ECHO OFF
REM ppd - PHP Putty deployment
REM Creation : 2021-11-04
REM @see https://github.com/coyote333666/ppd The ppd GitHub project
REM
REM @author Vincent Fortier <coyote333666@gmail.com>
REM @copyright 2021 Vincent Fortier
REM @license http://www.gnu.org/copyleft/lesser.html GNU Lesser General Public License
REM @note This program is distributed in the hope that it will be useful - WITHOUT
REM ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
REM FITNESS FOR A PARTICULAR PURPOSE.
REM
REM Description : DOS script calling a powershell script to generate a production release script (.scr)
REM To run this script:
REM gen_deployment.bat
REM Parameter : ID = batch id
REM APP = application name
REM EXT = file extension
REM
echo today's date : %date%
set EXT=php
echo ----------
set /p ID=Enter batch id :
set /p APP=Enter application name :
set /p EXT=Enter file extension string ("php" by default) :
powershell.exe -File gen_deployment.ps1 "%ID%" "%APP%" "%EXT%"