Skip to content

Commit 0646bce

Browse files
committed
Re-enable git tag assertion in update-project!
1 parent 82e2156 commit 0646bce

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

clj/src/vim_clojure_static/generate.clj

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@
378378
[src dst]
379379
(let [current-tag (string/trim-newline (:out (sh "git" "tag" "--points-at" "HEAD")))
380380
current-date (.format (SimpleDateFormat. "dd MMMM YYYY") (Date.))]
381-
; (assert (seq current-tag) "Git HEAD is not tagged!")
381+
(assert (seq current-tag) "Git HEAD is not tagged!")
382382
(update-doc! #"CLOJURE\t*\*ft-clojure-indent\*"
383383
(fjoin src "doc/clojure.txt")
384384
(fjoin dst "runtime/doc/indent.txt"))
@@ -394,7 +394,10 @@
394394
"syntax/clojure.vim"])))
395395

396396
(comment
397+
;; Run this to update the project files
397398
(update-project! "..")
399+
400+
;; Run this to update a vim repository
398401
(update-vim! ".." "../../vim")
399402

400403
;; Generate an example file with all possible character property literals.

0 commit comments

Comments
 (0)