Major mode for editing Earthly Earthfile (https://docs.earthly.dev/docs/earthfile) developed by @wingyplus, @TheCoreMan and @duck1123
- Syntax highlighting support.
- Toggle comment.
For using:
- emacs
For testing changes:
- eldev - used for linting
If you're using use-package
, you can do:
(use-package earthfile-mode
:ensure t)
If you're using Doom emacs, you can add the following to ~/.doom.d/packages.el
:
(package! earthfile-mode)
Followed by the following shell command:
~/.emacs.d/bin/doom sync
Just run this command in Emacs:
M-x package-install RET earthfile-mode RET
Add earthfile-mode
to load-path
using add-to-list
:
(add-to-list 'load-path "path/to/earthfile-mode")
(require 'earthfile-mode)