summaryrefslogtreecommitdiff
path: root/.gitlab/fix-submodules.py
diff options
context:
space:
mode:
authorBen Gamari <ben@smart-cactus.org>2018-11-23 19:20:00 -0500
committerBen Gamari <ben@smart-cactus.org>2018-12-01 08:57:37 -0500
commitb6108395cb969f79332d4bc31a3996607b9e0c16 (patch)
treea0703490f3907ede88189d65de8e14adc5945fb9 /.gitlab/fix-submodules.py
parentcbf57b7dbfdbfa72475d793b27858cacf2ed9816 (diff)
downloadhaskell-b6108395cb969f79332d4bc31a3996607b9e0c16.tar.gz
Add GitLab CI
Diffstat (limited to '.gitlab/fix-submodules.py')
-rw-r--r--.gitlab/fix-submodules.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/.gitlab/fix-submodules.py b/.gitlab/fix-submodules.py
new file mode 100644
index 0000000000..51c9b06183
--- /dev/null
+++ b/.gitlab/fix-submodules.py
@@ -0,0 +1,8 @@
+#!/usr/bin/python
+
+import re
+
+x = open('.gitmodules').read()
+x = re.sub(r"url *= *\.\.", "url = https://git.haskell.org", x)
+open('.gitmodules', 'w').write(x)
+