add build command

This commit is contained in:
sunxyw
2022-12-31 22:59:03 +08:00
parent c2c5433220
commit 85240c753b
5 changed files with 90 additions and 85 deletions

6
zhamao
View File

@@ -21,12 +21,6 @@ else
fi
fi
result=$(echo "$1" | grep -E "module|build")
if [ "$result" != "" ]; then
executable="$executable -d phar.readonly=off"
fi
if [ -f "$(pwd)/src/entry.php" ]; then
$executable "$(pwd)/src/entry.php" $@
elif [ -f "$(pwd)/vendor/zhamao/framework/src/entry.php" ]; then