41 Star 241 Fork 54

微擎/软擎应用空项目

加入 Gitee
与超过 1400万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
server 383 Bytes
一键复制 编辑 原始数据 按行查看 历史
非同寻常 提交于 2019-10-10 23:32 +08:00 . 修改命令入口
#!/usr/bin/env sh
dir=$(cd "${0%[/\\]*}" > /dev/null; cd '../vendor/bin' && pwd)
cur_dir=$(cd "${0%[/\\]*}" > /dev/null; cd '../' && pwd)
if [ -d /proc/cygdrive ]; then
case $(which php) in
$(readlink -n /proc/cygdrive)/*)
# We are in Cygwin using Windows php, so the path must be translated
dir=$(cygpath -m "$dir");
;;
esac
fi
"${dir}/rangine-server" "$@" --app-path=${cur_dir}
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/we7coreteam/w7-rangine-empty.git
git@gitee.com:we7coreteam/w7-rangine-empty.git
we7coreteam
w7-rangine-empty
软擎应用空项目
master

搜索帮助