1 Star 0 Fork 79

hzz7376/Teco-AL

forked from Tecorigin/Teco-AL 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
env.sh 770 Bytes
一键复制 编辑 原始数据 按行查看 历史
#! /bin/bash
#set -e
#set -x
if [[ ! -d "${PWD}/.git/" ]]; then
# pass
echo "Ready for building."
else
if [[ -f "${PWD}/.git/hooks/pre-commit" ]]; then
rm -rf ${PWD}/.git/hooks/pre-commit
fi
echo "-- pre-commit hook inserted to ${PWD}/.git/hooks."
echo "-- Use git commit -n to bypass pre-commit hook."
cp -f ${PWD}/tools/pre-commit ${PWD}/.git/hooks/pre-commit
if [[ -f "${PWD}/.git/hooks/commit-msg" ]]; then
rm -rf ${PWD}/.git/hooks/commit-msg
fi
echo "-- commit-msg hook inserted to ${PWD}/.git/hooks."
cp -f ${PWD}/tools/commit-msg ${PWD}/.git/hooks/commit-msg
git config --global commit.template ${PWD}/tools/commit_template
echo "-- commit template configured."
echo "Ready for building."
fi
export TECO_READY_TO_BUILD=ON
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/hzz7376/teco-al.git
git@gitee.com:hzz7376/teco-al.git
hzz7376
teco-al
Teco-AL
develop

搜索帮助