lean4-htt/lean4-mode/lean4-dev.el
2018-09-08 18:37:58 -07:00

19 lines
615 B
EmacsLisp

;; -*- lexical-binding: t -*-
;;
;; Copyright (c) 2017 Microsoft Corporation. All rights reserved.
;; Released under Apache 2.0 license as described in the file LICENSE.
;;
;; Author: Sebastian Ullrich
;;
(require 'f)
(require 'lean4-util)
(defun lean4-diff-test-file ()
"Use interactive ./test_input.sh on file of current buffer"
(interactive)
(message (shell-command-to-string (format "yes | ./test_single.sh \"%s\" \"%s\" yes"
(lean4-get-executable "lean")
(f-filename (buffer-file-name))))))
(provide 'lean4-dev)