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

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

[elpa] externals/phps-mode 9cade60362 17/27: More notes on automation


From: Christian Johansson
Subject: [elpa] externals/phps-mode 9cade60362 17/27: More notes on automation
Date: Sat, 4 Mar 2023 03:24:58 -0500 (EST)

branch: externals/phps-mode
commit 9cade60362d09a83923adc97c559b38cf6ccd2e0
Author: Christian Johansson <christian@cvj.se>
Commit: Christian Johansson <christian@cvj.se>

    More notes on automation
---
 Makefile                      | 4 ++--
 admin/phps-mode-automation.el | 3 +--
 2 files changed, 3 insertions(+), 4 deletions(-)

diff --git a/Makefile b/Makefile
index 351bc27cba..db2532ddbf 100644
--- a/Makefile
+++ b/Makefile
@@ -10,11 +10,11 @@ clean:
 
 .PHONY: parser
 parser:
-       $(EMACS_CMD) -L ~/.emacs.d/elpa/parser-generator-0.1.6/ -l 
phps-mode-lexer.el -l admin/phps-mode-automation.el -eval "(progn (require 
'parser-generator-lr-export)(setq debug-on-error t)(phps-mode-automation))"
+       rm phps-mode-automation-grammar.elc; $(EMACS_CMD) -L 
~/.emacs.d/elpa/parser-generator-0.1.6/ -l phps-mode-lexer.el -l 
admin/phps-mode-automation.el -eval "(progn (require 
'parser-generator-lr-export)(setq debug-on-error t)(phps-mode-automation))"
 
 .PHONY: parser-resumed
 parser-resumed:
-       $(EMACS_CMD) -L ~/.emacs.d/elpa/parser-generator-0.1.6/ -l 
phps-mode-lexer.el -l admin/phps-mode-automation.el -l resume.el -eval "(progn 
(require 'parser-generator-lr-export)(setq debug-on-error 
t)(phps-mode-automation))"
+       rm phps-mode-automation-grammar.elc; $(EMACS_CMD) -L 
~/.emacs.d/elpa/parser-generator-0.1.6/ -l phps-mode-lexer.el -l 
admin/phps-mode-automation.el -l resume.el -eval "(progn (require 
'parser-generator-lr-export)(setq debug-on-error t)(phps-mode-automation))"
 
 .PHONY: compile
 compile:
diff --git a/admin/phps-mode-automation.el b/admin/phps-mode-automation.el
index 7c4298a82c..4d1330c054 100644
--- a/admin/phps-mode-automation.el
+++ b/admin/phps-mode-automation.el
@@ -9,9 +9,8 @@
 ;;
 ;; This does not work if some variables are byte-compiled therefore we delete 
byte-compiled files in `make parser &> output.txt' command, follow progress 
with `tail -f output.txt'
 ;;
-;; For some reason the grammar file can't be downloaded non-interactively, in 
that case try to run the code `(progn (require 
'parser-generator-lr-export)(setq debug-on-error t)(phps-mode-automation))' in 
a active Emacs session and quit when file has been downloaded and the restart 
the process from terminal.
-;;
 ;; If generation fails for some reason, to extract Emacs-Lisp data to a 
separate file run `cat output.txt | grep -F "-resume" - > resume.el'
+;; you might need to delete to two last lines of resume.el
 ;; and then to resume use command: `make parser-resumed &> output.txt'
 
 



reply via email to

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