13 Star 31 Fork 0

Gitee 极速下载 / tortoisegit

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
此仓库是为了提升国内下载速度的镜像仓库,每日同步一次。 原始仓库: https://github.com/TortoiseGit/TortoiseGit
克隆/下载
.gitlab-ci.yml 2.43 KB
一键复制 编辑 原始数据 按行查看 历史
Sven Strickroth 提交于 2022-11-05 12:39 . Use latest Ubuntu for CI
# General info: https://docs.gitlab.com/ee/ci/yaml/
doc:
image: ubuntu:jammy
before_script:
- echo -e "section_start:`date +%s`:install_packages[collapsed=true]\r\e[0K\e[1;96mInstalling packages\e[0m"
- apt-get update -qq
- DEBIAN_FRONTEND=noninteractive apt-get install -qq --no-install-recommends -y xsltproc docbook-xsl nant aspell aspell-en
- echo -e "section_end:`date +%s`:install_packages\r\e[0K"
script:
- mv doc/doc.build.user.linux.templ doc/doc.build.user
- cd doc
- nant -D:spellcheck=true
- if [[ $(ls -1 Aspell/*.log 2>/dev/null | wc -l) -ge 1 ]]; then
echo -e "\e[1;31m!!! Found typos !!!\e[0m";
cat Aspell/*.log;
exit 1;
fi
except:
refs:
- tags
only:
changes:
- .gitlab-ci.yml
- doc/images/en/**/*
- doc/source/**/*
- doc/xsl/**/*
- doc/doc.build*
- doc/Aspell/*
spellcheck-pot:
image: debian:buster
before_script:
- echo -e "section_start:`date +%s`:install_packages[collapsed=true]\r\e[0K\e[1;96mInstalling packages\e[0m"
- apt-get update -qq
- apt-get install -qq --no-install-recommends -y aspell aspell-en gettext gettext-lint
- echo -e "section_end:`date +%s`:install_packages\r\e[0K"
script:
- perl -pi -e 's|\\r||g' Languages/Tortoise.pot
- msginit --no-translator -l en_US -i Languages/Tortoise.pot -o Languages/Tortoise_en.po
- perl -pi -e 's|&([^ ])|\1|g' Languages/Tortoise_en.po
- cp doc/Aspell/TortoiseGit.tmpl.pws doc/Aspell/Temp.pws
- perl -pi -e 's/\$LANG\$/en/g' doc/Aspell/Temp.pws
- POFileSpell --command='aspell --encoding=UTF-8 --add-extra-dicts="./doc/Aspell/en.pws" --add-extra-dicts=./doc/Aspell/Temp.pws --add-extra-dicts=./doc/Aspell/TortoisePot.pws --lang=en list' Languages/Tortoise_en.po > spellcheck.log
- if [[ $(cat spellcheck.log 2>/dev/null | wc -l) -gt 1 ]]; then
echo -e "\e[1;31m!!! Found typos !!!\e[0m";
cat spellcheck.log;
exit 1;
fi
except:
refs:
- tags
only:
changes:
- .gitlab-ci.yml
- Languages/Tortoise.pot
- doc/Aspell/*.pws
commit-messages:
image: debian:buster
before_script:
- echo -e "section_start:`date +%s`:install_packages[collapsed=true]\r\e[0K\e[1;96mInstalling packages\e[0m"
- apt-get update -qq
- apt-get install -qq -y git
- echo -e "section_end:`date +%s`:install_packages\r\e[0K"
script:
- .gitlab-ci/check-commits.sh
only: [merge_requests]
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/mirrors/tortoisegit.git
git@gitee.com:mirrors/tortoisegit.git
mirrors
tortoisegit
tortoisegit
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891