summaryrefslogtreecommitdiff
path: root/tools/ci/scripts/clonesrc.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-10-10 21:58:09 +0300
committerAndrei Karas <akaras@inbox.ru>2017-10-10 22:03:33 +0300
commit7c10a6b61e9d06a4ae9cc9f942dfacb6fcfd9d3d (patch)
tree32787f5e1f7661c3562c20bfc5cfdc06c0e3f5ac /tools/ci/scripts/clonesrc.sh
parentac4d991a1d69ff8258d02e5e71d04c4bc91f1e33 (diff)
downloadmv-7c10a6b61e9d06a4ae9cc9f942dfacb6fcfd9d3d.tar.gz
mv-7c10a6b61e9d06a4ae9cc9f942dfacb6fcfd9d3d.tar.bz2
mv-7c10a6b61e9d06a4ae9cc9f942dfacb6fcfd9d3d.tar.xz
mv-7c10a6b61e9d06a4ae9cc9f942dfacb6fcfd9d3d.zip
Add ci script for clone manaplus sources.
Diffstat (limited to 'tools/ci/scripts/clonesrc.sh')
-rwxr-xr-xtools/ci/scripts/clonesrc.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/ci/scripts/clonesrc.sh b/tools/ci/scripts/clonesrc.sh
new file mode 100755
index 000000000..bf25e0ed4
--- /dev/null
+++ b/tools/ci/scripts/clonesrc.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+rm -rf manaplus || true
+./tools/ci/scripts/retry.sh "git clone --branch master --depth 1 https://gitlab.com/manaplus/manaplus.git manaplus" || exit 1
+mkdir manaplus/logs || exit 1