1
0
mirror of https://shylinux.com/x/icebergs synced 2025-04-26 01:24:05 +08:00
icebergs/misc/git/git.shy
shylinux@163.com 8f12abd2f5 opt some
2022-08-26 10:38:37 +08:00

41 lines
1005 B
Plaintext

title "git"
refer `
官网 https://git-scm.com/
文档 https://git-scm.com/docs
源码 https://github.com/git/git
`
chapter "源码"
field "安装" web.code.git.git
field "源码" web.code.inner args `usr/install/git-2.31.1/ shell.c 145`
section "构建"
shell `
yum install -y wget make gcc
yum install -y libcurl-devel.x86_64 openssl-devel.x86_64
yum install -y perl-ExtUtils-CBuilder perl-ExtUtils-MakeMaker
wget http://mirrors.tencent.com/macports/distfiles/git-cinnabar/git-2.31.1.tar.gz
tar xvf git-2.31.1.tar.gz && cd git-2.31.1
./configure --prefix=$PWD/_install
make -j8 && make install
`
section "启动"
shell `
cd ./_install
./bin/git
`
chapter "应用"
field "代码库" web.code.git.repos
field "统计量" web.code.git.total
field "代码行" web.code.git.count
field "趋势图" web.code.git.trend args `icebergs`
field "架构图" web.code.git.spide args `icebergs`
field "配置键" web.code.git.configs
field "状态机" web.code.git.status
field "服务器" web.code.git.server