mirror of
https://github.com/Mactronique/php_updater.git
synced 2026-03-23 20:32:10 +01:00
13 lines
305 B
Batchfile
13 lines
305 B
Batchfile
@echo off
|
|
|
|
git pull
|
|
|
|
if exist composer.phar (
|
|
%~dp0php\php.exe %~dp0composer.phar self-update
|
|
) else (
|
|
%~dp0php\php.exe -r "readfile('https://getcomposer.org/installer');" | %~dp0php\php.exe
|
|
)
|
|
|
|
%~dp0php\php.exe %~dp0composer.phar install -o --no-dev
|
|
|
|
%~dp0php\php.exe %~dp0PhpUpdate php:update |