summaryrefslogtreecommitdiff
path: root/.tools/contributors.sh
blob: 0ca0ab2fd9dcd121efb768903b70b9424b2b5da4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#!/bin/bash

echo "[FIXME][TODO] Our project is not using contributors check."
echo "[FIXME][TODO] This is an important error. We must auto-check licenses!"
exit 0

source ./.tools/init.sh

clientdata_init

aptget_update
aptget_install git-core gcc ca-certificates libxml2-utils make xsltproc
rm -rf tools
gitclone https://gitlab.com/TMW2 evol-tools.git tools

cd tools/contrib_xsl

make about-server
check_error $?

cd ../../clientdata

export RES=$(git diff)
if [[ -n "${RES}" ]]; then
    echo "Contributors list not updated"
    git diff
    exit 1
fi