Function: ghostel--make-module-build-dir

ghostel--make-module-build-dir is a natively compiled function defined in ghostel-module-install.el.

Signature

(ghostel--make-module-build-dir DEST-DIR)

Documentation

Return the temporary Zig install prefix inside DEST-DIR.

Source Code

;; Defined in /nix/store/1252krff0gb2kisjcpp45m50cpdskfrl-emacs-packages-deps/share/emacs/site-lisp/ghostel-module-install.el
(defun ghostel--make-module-build-dir (dest-dir)
  "Return the temporary Zig install prefix inside DEST-DIR."
  (make-directory dest-dir t)
  (let ((dir (expand-file-name ".ghostel-build/" dest-dir)))
    (when (file-directory-p dir)
      (delete-directory dir t))
    (make-directory dir t)
    (file-name-as-directory dir)))