9 Star 14 Fork 0

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
1
https://gitee.com/tecorigin/teco-al.git
git@gitee.com:tecorigin/teco-al.git
tecorigin
teco-al
Teco-AL
develop

搜索帮助

53164aa7 5694891 3bd8fe86 5694891