summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-08-03 14:23:19 (GMT)
committerBrad King <brad.king@kitware.com>2016-08-17 13:11:06 (GMT)
commit0966f1c5489591ba049b43f9e56a9f4e34778789 (patch)
tree68cb5c849b0220dc44a87a651c89102999f85eb6 /Utilities
parent65120d180b6e7658e296fd2c4c85a23f337c06dc (diff)
downloadCMake-0966f1c5489591ba049b43f9e56a9f4e34778789.zip
CMake-0966f1c5489591ba049b43f9e56a9f4e34778789.tar.gz
CMake-0966f1c5489591ba049b43f9e56a9f4e34778789.tar.bz2
Add script to update vim-cmake-syntax from upstream
Diffstat (limited to 'Utilities')
-rwxr-xr-xUtilities/Scripts/update-vim-syntax.bash24
1 files changed, 24 insertions, 0 deletions
diff --git a/Utilities/Scripts/update-vim-syntax.bash b/Utilities/Scripts/update-vim-syntax.bash
new file mode 100755
index 0000000..bb14683
--- /dev/null
+++ b/Utilities/Scripts/update-vim-syntax.bash
@@ -0,0 +1,24 @@
+#!/usr/bin/env bash
+
+set -e
+set -x
+shopt -s dotglob
+
+readonly name="vim-cmake-syntax"
+readonly ownership="vim-cmake-syntax upstream <kwrobot@kitware.com>"
+readonly subtree="Auxiliary/vim"
+readonly repo="https://github.com/pboettch/vim-cmake-syntax.git"
+readonly tag="master"
+readonly shortlog=true
+readonly paths="
+ indent
+ syntax
+ cmake.vim.in
+ extract-upper-case.pl
+"
+
+extract_source () {
+ git_archive
+}
+
+. "${BASH_SOURCE%/*}/update-third-party.bash"