summaryrefslogtreecommitdiffstats
path: root/Utilities
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-08-24 13:45:29 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2016-08-24 13:45:29 (GMT)
commita71ca1f0b3a405e6ff1ea4b09badcc345581ddba (patch)
tree3f43bbe274d99cc28b190b45a6473d81db8f1852 /Utilities
parent00a583ac6833bdb2909d1bab1bffb28fb6c2b245 (diff)
parentb4556b47a82f09d2dc40118e1e6cb41b69ece529 (diff)
downloadCMake-a71ca1f0b3a405e6ff1ea4b09badcc345581ddba.zip
CMake-a71ca1f0b3a405e6ff1ea4b09badcc345581ddba.tar.gz
CMake-a71ca1f0b3a405e6ff1ea4b09badcc345581ddba.tar.bz2
Merge topic 'import-vim-syntax'
b4556b47 Help: Add release notes for 'vim-cmake-syntax' import 25c01cf0 Aux: Install vim-cmake-syntax files with CMake e3ac68cf Merge branch 'upstream-vim-cmake-syntax' into import-vim-syntax 4a22c06e vim-cmake-syntax 2016-08-16 (e782679c) f21a8235 Aux: Drop vim files prior to import of third-party version 0966f1c5 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"