[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/pacmacs 2c1881afdf 185/472: Compile the project on CI (#12
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/pacmacs 2c1881afdf 185/472: Compile the project on CI (#123) |
Date: |
Thu, 6 Jan 2022 21:59:23 -0500 (EST) |
branch: elpa/pacmacs
commit 2c1881afdf1b2bdfbd4e9779243c32574c51cef7
Author: rexim <reximkut@gmail.com>
Commit: rexim <reximkut@gmail.com>
Compile the project on CI (#123)
---
.travis.yml | 1 +
pacmacs.el | 3 ++-
tools/compile.el | 16 ++++++++++++++++
3 files changed, 19 insertions(+), 1 deletion(-)
diff --git a/.travis.yml b/.travis.yml
index 1abcb9b596..eaa0786262 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -15,6 +15,7 @@ env:
- EVM_EMACS=emacs-24.4-bin
- EVM_EMACS=emacs-24.5-bin
script:
+ - emacs --script ./tools/compile.el
- cask exec ert-runner
notifications:
email:
diff --git a/pacmacs.el b/pacmacs.el
index e12c66f74d..790535bcd2 100644
--- a/pacmacs.el
+++ b/pacmacs.el
@@ -6,7 +6,7 @@
;; Maintainer: Alexey Kutepov <reximkut@gmail.com>
;; URL: http://github.com/rexim/pacmacs.el
;; Version: 0.0.1
-;; Package-Requires: ((dash "2.11.0") (dash-functional "1.2.0") (cl-lib "0.5"))
+;; Package-Requires: ((dash "2.11.0") (dash-functional "1.2.0") (cl-lib "0.5")
(f "0.18.0"))
;; Permission is hereby granted, free of charge, to any person
;; obtaining a copy of this software and associated documentation
@@ -441,6 +441,7 @@
(insert "\n")))
(insert "\n")
(dotimes (i pacmacs-lives)
+ (ignore i)
(pacmacs--render-life-icon))
(when (equal pacmacs-game-state 'game-over)
diff --git a/tools/compile.el b/tools/compile.el
new file mode 100755
index 0000000000..617639441c
--- /dev/null
+++ b/tools/compile.el
@@ -0,0 +1,16 @@
+(require 'cask "~/.cask/cask.el")
+
+(let ((bundle (cask-initialize default-directory)))
+ (require 'dash)
+ (require 'dash-functional)
+ (require 'f)
+ (require 'bytecomp)
+ (let ((load-path (cons (cask-path bundle) (cask-load-path bundle))))
+ (when (->> (cask-files bundle)
+ (-filter (-lambda (path)
+ (and (f-file? path)
+ (f-ext? path "el"))))
+ (-map (-lambda (file)
+ (byte-compile-file file nil)))
+ (-any #'null))
+ (kill-emacs 1))))
- [nongnu] elpa/pacmacs 359a0facc5 140/472: Optimize empty cell rendering, (continued)
- [nongnu] elpa/pacmacs 359a0facc5 140/472: Optimize empty cell rendering, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 420dbec3e6 150/472: Register score on Game Over (#92), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 6f174d6239 156/472: Access resources in more general way (#95), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 330c69201f 160/472: Fix UTs, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 131a070556 163/472: Merge pull request #110 from syohex/fix-package, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs bb622648e3 162/472: Add Package-Requires header for dependencies, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 0c0aee723a 170/472: Fix regexp bug in pacmacs--levelname-from-filename, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs f28d928e89 177/472: Update README.md, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 8b44939a29 179/472: Merge pull request #121 from kRITZCREEK/master, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 368609060e 182/472: Add Win animation for Ghost. Close #90, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 2c1881afdf 185/472: Compile the project on CI (#123),
ELPA Syncer <=
- [nongnu] elpa/pacmacs 94c3a3cc1e 191/472: Merge branch 'master' into board-refactoring-105, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs b03ee65528 195/472: Merge branch 'board-refactoring-105'. Close #105, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs f84acb56ad 201/472: Double dash load-map function (#126), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs e13b23bc34 206/472: Remove object-at-p predicate, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 0c0f6c141c 210/472: Merge branch 'master' into integration-test-recorder-115, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs e64420ace4 209/472: Fix meta for Red-Ghost-Win animation, ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs bfb089d1de 213/472: Exctract init code to a function (#115), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs 09c0a15f40 217/472: Get pacmacs--object-at-p back (#122), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs daca08b8b1 219/472: Add another it case (#122), ELPA Syncer, 2022/01/06
- [nongnu] elpa/pacmacs ed46a4b500 221/472: Add big pills sprites. Close #82, ELPA Syncer, 2022/01/06