Skip to content

Commit

Permalink
This should fix the emacs ci job
Browse files Browse the repository at this point in the history
  • Loading branch information
ethan-coe-renner committed Aug 21, 2024
1 parent badc72c commit 6d35209
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ environment:
tasks:
- chezmoi-init: |
sh -c "$(curl -fsLS get.chezmoi.io)" -- init --promptDefaults --apply https://git.sr.ht/~code-runner/dotfiles
# These are both broken
# - emacs: |
# emacs --debug-init --batch -u $USER
- emacs: |
emacs --debug-init --batch -u $USER
# This is broken
# - zsh: |
# $(chezmoi source-path)/ci/test_zsh.sh
- mirror: |
Expand Down
8 changes: 8 additions & 0 deletions .chezmoiscripts/run_onchange_after_emacs-bootstrap.sh.tmpl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/sh

# This script tangles my emacs config, so that I don't need the resulting init file in source control

# Ensure that this script is re run when emacs.org changes
# emacs.org hash: {{ include "dot_emacs.d/emacs.org" | sha256sum }}

emacs --batch --eval "(require 'org)" --eval '(org-babel-tangle-file "~/.local/share/chezmoi/dot_emacs.d/emacs.org")'

0 comments on commit 6d35209

Please sign in to comment.