-
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
71 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
;;; concat.el --- Byte compile all Emacs Lisp files in the package -*- lexical-binding: t; -*- | ||
|
||
;;; Commentary: | ||
;; | ||
;; Byte compile all Emacs Lisp files in the package | ||
;; | ||
;; $ eask concat [names..] | ||
;; | ||
;; | ||
;; Initialization options: | ||
;; | ||
;; [names..] specify files to concatenate | ||
;; | ||
;; Action options: | ||
;; | ||
;; [destintation] optional output destintation | ||
;; | ||
|
||
;;; Code: | ||
|
||
(load-file (expand-file-name | ||
"_prepare.el" | ||
(file-name-directory (nth 1 (member "-scriptload" command-line-args))))) | ||
|
||
(eask-start | ||
(let* ((name (eask-guess-package-name)) | ||
(files (or (eask-args) (eask-package-el-files))) | ||
(eask-dist-path (or (eask-dest) eask-dist-path)) | ||
(eask-dist-path (expand-file-name eask-dist-path)) | ||
(target-file (concat name ".built.el")) | ||
(target-filename (expand-file-name target-file eask-dist-path))) | ||
(eask-debug "Destination path in %s" eask-dist-path) | ||
(ignore-errors (make-directory eask-dist-path t)) | ||
|
||
(eask-info "Prepare to concatenate files %s..." target-filename) | ||
(write-region "" nil target-filename) | ||
|
||
(eask-with-verbosity 'log | ||
(with-temp-buffer | ||
(dolist (filename files) | ||
(message "Visit file %s... append!" filename) | ||
(insert-file-contents filename)) | ||
(eask-info "Done. (Wrote file in %s)" target-filename) | ||
(write-region (buffer-string) nil target-filename))))) | ||
|
||
;;; concat.el ends here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,11 +6,6 @@ | |
;; | ||
;; $ eask path | ||
;; | ||
;; | ||
;; Effective flags: | ||
;; | ||
;; [-g, --global] | ||
;; | ||
|
||
;;; Code: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,10 +11,6 @@ | |
;; | ||
;; [--depth] dependency level to print | ||
;; | ||
;; Effective flags: | ||
;; | ||
;; [-g, --global] | ||
;; | ||
|
||
;;; Code: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,10 +11,6 @@ | |
;; | ||
;; [--depth] dependency level to print | ||
;; | ||
;; Effective flags: | ||
;; | ||
;; [-g, --global] | ||
;; | ||
|
||
;;; Code: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,11 +6,6 @@ | |
;; | ||
;; $ eask load-path | ||
;; | ||
;; | ||
;; Effective flag: | ||
;; | ||
;; [-g, --global] | ||
;; | ||
|
||
;;; Code: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,11 +6,6 @@ | |
;; | ||
;; $ eask load | ||
;; | ||
;; | ||
;; Effective flag: | ||
;; | ||
;; [-g, --global] | ||
;; | ||
|
||
;;; Code: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,11 +6,6 @@ | |
;; | ||
;; $ eask outdated | ||
;; | ||
;; | ||
;; Effective flag: | ||
;; | ||
;; [-g, --global] | ||
;; | ||
|
||
;;; Code: | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters