Created
November 19, 2017 17:13
-
-
Save sursir/8aca261ec15dafd22dfb4b67bcd1f60e to your computer and use it in GitHub Desktop.
build
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
###################### | |
### 环境 | |
###################### | |
# `.phar` need `bz2` module | |
sudo apt-get update | |
sudo apt-get install php-bz2 | |
php -m | grep bz2 | |
# `phpunit` need xdebug | |
sudo apt-get install php-xdebug | |
# 安装 xdebug, ubuntu 需要手动链接 `/etc/php/7.1/mods-available/xdebug.ini` 到 `/etc/php/7.1/cli/conf.d/xdebug.ini` | |
cd /etc/php/7.1/cli/conf.d | |
sudo ln -s /etc/php/7.1/mods-available/xdebug.ini | |
# 在项目目录下 | |
## build.xml 在根目录下 (> ant) | |
## build 目录包含 各模块 xml 如:phpunit.xml phploc.xml 等 (> phpunit) | |
## 在 xml 配置目录下可直接使用命令 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment