emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/dash e8ed3d6 196/316: * watch-tests.watchr: Remove file


From: ELPA Syncer
Subject: [elpa] externals/dash e8ed3d6 196/316: * watch-tests.watchr: Remove file.
Date: Mon, 15 Feb 2021 15:57:58 -0500 (EST)

branch: externals/dash
commit e8ed3d640797a8b816d1d5e2710a960765ab034b
Author: Basil L. Contovounesios <contovob@tcd.ie>
Commit: Basil L. Contovounesios <contovob@tcd.ie>

    * watch-tests.watchr: Remove file.
    
    Closes #357.
---
 watch-tests.watchr | 38 --------------------------------------
 1 file changed, 38 deletions(-)

diff --git a/watch-tests.watchr b/watch-tests.watchr
deleted file mode 100644
index 8146789..0000000
--- a/watch-tests.watchr
+++ /dev/null
@@ -1,38 +0,0 @@
-ENV["WATCHR"] = "1"
-system 'clear'
-
-def run(cmd)
-  `#{cmd}`
-end
-
-def run_all_tests
-  system('clear')
-  result = run "./run-tests.sh"
-  puts result
-end
-
-run_all_tests
-watch('.*.el') { run_all_tests }
-
-# Ctrl-\
-Signal.trap 'QUIT' do
-  puts " --- Running all tests ---\n\n"
-  run_all_tests
-end
-
-@interrupted = false
-
-# Ctrl-C
-Signal.trap 'INT' do
-  if @interrupted then
-    @wants_to_quit = true
-    abort("\n")
-  else
-    puts "Interrupt a second time to quit"
-    @interrupted = true
-    Kernel.sleep 1.5
-    # raise Interrupt, nil # let the run loop catch it
-    run_all_tests
-    @interrupted = false
-  end
-end



reply via email to

[Prev in Thread] Current Thread [Next in Thread]