write out the sorted list of completions, makes it easier to diff the list

This commit is contained in:
jasper 2014-03-30 21:08:24 +00:00
parent 21ad9f1b80
commit ec922a63c2
3 changed files with 652 additions and 651 deletions

View File

@ -1,9 +1,10 @@
# $OpenBSD: Makefile,v 1.20 2014/03/30 20:38:10 jasper Exp $
# $OpenBSD: Makefile,v 1.21 2014/03/30 21:08:24 jasper Exp $
COMMENT = Lisp-1 dialect for the Java Virtual Machine
VER = 1.6.0
DISTNAME = clojure-${VER}
REVISION = 0
PKG_ARCH = *

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
;;; $OpenBSD: clj_completions.clj,v 1.2 2013/03/17 19:38:04 jasper Exp $
;;; $OpenBSD: clj_completions.clj,v 1.3 2014/03/30 21:08:24 jasper Exp $
(def completions (mapcat (comp keys ns-publics) (all-ns)))
(with-open [f (java.io.BufferedWriter. (java.io.FileWriter. "files/clj_completions"))]
(.write f (apply str (interpose \newline completions))))
(.write f (apply str (interpose \newline (sort completions)))))