From 013d70681f0d995cd50ec3697ad6478696436af2 Mon Sep 17 00:00:00 2001 From: rlar Date: Thu, 12 Apr 2018 18:39:54 +0200 Subject: [PATCH] drop vdmos-1.el --- vdmos-1.el | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 vdmos-1.el diff --git a/vdmos-1.el b/vdmos-1.el deleted file mode 100644 index e01afa5ef..000000000 --- a/vdmos-1.el +++ /dev/null @@ -1,19 +0,0 @@ -;;; (load-file buffer-file-name) - -(defun mos1->vdmos(file) - (with-temp-file file - (insert-file-contents-literally file) - (while (re-search-forward (rx "mos1") - nil t) - (replace-match "vdmos")))) - - -(cl-loop for f in (process-lines "git" "ls-files" "--" "src/spicelib/devices/mos1") - for dst = (concat "src/spicelib/devices/vdmos/" - (replace-regexp-in-string "mos1" "vdmos" - (file-name-nondirectory f))) - initially (mkdir "src/spicelib/devices/vdmos" t) - do (progn - (copy-file f dst t) - (mos1->vdmos dst) - (process-lines "git" "add" dst)))