0
我想在Windows上安装部署者。我按照下面的步骤:如何在Windows上安装并运行部署者
- 运行命令在CMD:d:\作曲家需要部署/部署者:〜3.0
- 然后d:\ PHP供应商/斌/ DEP
当运行上面的命令它显示下面的事情我:
dir=$(d=${0%[/\]*}; cd "$d"; cd "../deployer/deployer/bin" && pwd)
# See if we are running in Cygwin by checking for cygpath program
if command -v 'cygpath' >/dev/null 2>&1; then
# Cygwin paths start with /cygdrive/ which will break windows PHP,
# so we need to translate the dir path to windows format. However
# we could be using cygwin PHP which does not require this, so we
# test if the path to PHP starts with /cygdrive/ rather than /usr/bin
if [[ $(which php) == /cygdrive/* ]]; then
dir=$(cygpath -m "$dir");
fi
fi
dir=$(echo $dir | sed 's/ /\ /g')
"${dir}/dep" "[email protected]"
此外,当我试图运行“出发”的命令d:> DEP自我更新,它让我看到这个错误:
'dep' is not recognized as an internal or external command, operable program or batch file.
现在我该怎么做才能制作并运行部署程序脚本?请告诉我更多的步骤。
使用使用
dep
“deployer.phar”,而不是 “DEP”。您可能不需要指定路径。 – Josiah