diff --git a/test_data/manual/Dockerfile.byte-compile-test b/test_data/manual/Dockerfile.emacs26 similarity index 70% rename from test_data/manual/Dockerfile.byte-compile-test rename to test_data/manual/Dockerfile.emacs26 index 96ae8148..094b7a3d 100644 --- a/test_data/manual/Dockerfile.byte-compile-test +++ b/test_data/manual/Dockerfile.emacs26 @@ -23,11 +23,6 @@ COPY . . RUN emacs -Q --batch \ -L ${PWD} \ -l test_data/package-install-deps.el \ - -f batch-byte-compile *.el elisp/edts/*.el lib/**/*.el + --eval '(byte-recompile-directory "." 0 t)' \ + 2> "compile.log" -# RUN emacs -Q --batch \ -# -L ${PWD} \ -# -l test_data/package-install-deps.el \ -# --eval '(byte-compile-file "edts-mode.el")' \ -# --eval '(with-current-buffer "*EDTS compile*" (write-file "edts_compile.log"))' && \ -# cat edts_compile.log diff --git a/test_data/manual/Dockerfile.emacs29 b/test_data/manual/Dockerfile.emacs29 new file mode 100644 index 00000000..1b3c8778 --- /dev/null +++ b/test_data/manual/Dockerfile.emacs29 @@ -0,0 +1,20 @@ +FROM silex/emacs:29.1 + +# Remove erlang-mode as there are broken symlinks in manpages-dev package +# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=973885 +# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=999682 +RUN apt-get -q update && \ + apt-get -qy install \ + build-essential erlang git && \ + apt-get -qy remove erlang-mode && \ + rm -rf /var/lib/apt/lists/* + +WORKDIR /edts + +COPY . . + +RUN emacs -Q --batch \ + -L ${PWD} \ + -l test_data/package-install-deps.el \ + --eval '(byte-recompile-directory "." 0 t)' \ + 2> "compile.log"