Skip to content

Commit

Permalink
emacs byte-compile docker tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiw committed Sep 25, 2023
1 parent b3b608a commit 4125808
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
20 changes: 20 additions & 0 deletions test_data/manual/Dockerfile.emacs29
Original file line number Diff line number Diff line change
@@ -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"

0 comments on commit 4125808

Please sign in to comment.