https://github.com/mit-plv/fiat-crypto
Revision 32b3d8f86987f3622c19f7c5d1b948767ac80cea authored by jadep on 28 July 2020, 11:34:51 UTC, committed by jadep on 28 July 2020, 11:34:51 UTC
1 parent 1823a19
Raw File
Tip revision: 32b3d8f86987f3622c19f7c5d1b948767ac80cea authored by jadep on 28 July 2020, 11:34:51 UTC
add length/eval lemmas so build works, fix up comments
Tip revision: 32b3d8f
.dir-locals.el
((coq-mode . ((eval . (let* ((project-root (locate-dominating-file buffer-file-name "_CoqProject"))
                             (coqprime-folder (expand-file-name "coqprime/src" project-root))
                             (rewriter-folder (expand-file-name "rewriter/src" project-root))
                             (bedrock2-folder (expand-file-name "bedrock2/bedrock2/src" project-root))
                             (coqutil-folder (expand-file-name "bedrock2/deps/coqutil/src" project-root))
                             (coq-path (lambda () (split-string (or (getenv "COQPATH") "") path-separator t))))
                        (unless (member coqutil-folder (funcall coq-path))
                          (setenv "COQPATH" (mapconcat #'identity (cons coqutil-folder (funcall coq-path)) path-separator)))
                        (unless (member rewriter-folder (funcall coq-path))
                          (setenv "COQPATH" (mapconcat #'identity (cons rewriter-folder (funcall coq-path)) path-separator)))
                        (unless (member bedrock2-folder (funcall coq-path))
                          (setenv "COQPATH" (mapconcat #'identity (cons bedrock2-folder (funcall coq-path)) path-separator)))
                        (unless (member coqprime-folder (funcall coq-path))
                          (setenv "COQPATH" (mapconcat #'identity (cons coqprime-folder (funcall coq-path)) path-separator))))))))
back to top