Skip to content

Commit

Permalink
tweak(straight): add repo hash to the build directory
Browse files Browse the repository at this point in the history
  • Loading branch information
abougouffa committed Mar 21, 2023
1 parent 8d54ac2 commit 4ad4c3a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions core/me-bootstrap.el
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@
(setq
;; Base directory
straight-base-dir minemacs-local-dir
;; Add Emacs version to the build directory to avoid problems
straight-build-dir (format "build-%s" emacs-version)
;; Add Emacs version and the Git hash to the build directory to avoid problems
straight-build-dir (format "build-%s%s" emacs-version
(if emacs-repository-version
(format "-%s" (substring emacs-repository-version 0 8))
""))
;; TEMP: Use the "master" branch on straight.el's repo (switch back to
;; "develop" when issue #28 gets fixed in upstream)
straight-repository-branch "master"
Expand Down

0 comments on commit 4ad4c3a

Please sign in to comment.