summaryrefslogtreecommitdiff
path: root/.tools
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-04-25 18:08:48 +0300
committerAndrei Karas <akaras@inbox.ru>2016-04-25 18:08:48 +0300
commitb9d5f2466ba54df927607dea2a379cb1b76da725 (patch)
treef65bed7d61449e99388706b5d339e5ce33ddaad9 /.tools
parent11bf545a30227dbdb43c366fdd6b4dd2faeebebf (diff)
downloadclientdata-b9d5f2466ba54df927607dea2a379cb1b76da725.tar.gz
clientdata-b9d5f2466ba54df927607dea2a379cb1b76da725.tar.bz2
clientdata-b9d5f2466ba54df927607dea2a379cb1b76da725.tar.xz
clientdata-b9d5f2466ba54df927607dea2a379cb1b76da725.zip
Add contributors test job into .gitlab-ci.yml
Diffstat (limited to '.tools')
-rwxr-xr-x.tools/contributors.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/.tools/contributors.sh b/.tools/contributors.sh
new file mode 100755
index 00000000..f47d3115
--- /dev/null
+++ b/.tools/contributors.sh
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+source ./.tools/init.sh
+
+clientdata_init
+
+aptget_update
+aptget_install git-core gcc ca-certificates libxml2-utils
+gitclone https://gitlab.com/evol/evol-tools.git tools
+
+cd tools/contrib_xsl
+
+make about-server
+cd ../../clientdata
+
+export RES=$(git diff)
+if [[ -n "${RES}" ]]; then
+ echo "Contributors list not updated"
+ echo "Diff:"
+ echo ${RES}
+ exit 1
+fi