[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/emacsql ef10c33355 317/427: Only create the executable whe
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/emacsql ef10c33355 317/427: Only create the executable when compiling emacsql-sqlite |
Date: |
Tue, 13 Dec 2022 02:59:55 -0500 (EST) |
branch: elpa/emacsql
commit ef10c333558ae6a99bfc082b15360ad1234da39b
Author: Jonas Bernoulli <jonas@bernoul.li>
Commit: Jonas Bernoulli <jonas@bernoul.li>
Only create the executable when compiling emacsql-sqlite
Without this evaluating any library which requires emacsql-sqlite
would result in the executable to be regenerated.
---
emacsql-sqlite.el | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/emacsql-sqlite.el b/emacsql-sqlite.el
index 1f13486598..b9fd801060 100644
--- a/emacsql-sqlite.el
+++ b/emacsql-sqlite.el
@@ -223,7 +223,9 @@ This works like `url-copy-file' but actually checks for
errors."
(new-root (file-name-directory byte-compile-current-file))
(emacsql-sqlite-executable
(expand-file-name bin-name (concat new-root "bin/"))))
- (unless (file-exists-p emacsql-sqlite-executable)
+ (when (and (not (file-exists-p emacsql-sqlite-executable))
+ (equal (file-name-nondirectory byte-compile-current-file)
+ "emacsql-sqlite.el"))
(ignore-errors (emacsql-sqlite-compile 2)))))
(provide 'emacsql-sqlite)
- [nongnu] elpa/emacsql e7b932a5c9 378/427: Handle read-only emacsql install diretory, (continued)
- [nongnu] elpa/emacsql e7b932a5c9 378/427: Handle read-only emacsql install diretory, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 9e48d12e42 402/427: Fix typos in README.md, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 6d8cd93662 382/427: README: Remove a duplicate word, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql b6a0336d62 405/427: make: Compile SQLite binary before Elisp, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql b9d848fa9c 407/427: make: Don't warn about implicit fallthroughs, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql dbf0598731 087/427: Add "-interactive" argument (fixes #1)., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 79fb8cb223 230/427: Heavy compiler rework., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql dcb9a903c7 284/427: Put emacsql-thread inside a transaction., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 4a570e3016 301/427: Predict new location when compiling binary., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 57fa0e1d3e 306/427: Use just BEGIN for transactions., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql ef10c33355 317/427: Only create the executable when compiling emacsql-sqlite,
ELPA Syncer <=
- [nongnu] elpa/emacsql a270218fd9 324/427: Ignore generated var/ directory, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql f00f724495 325/427: Enforce use of spaces for indentation, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 016f2bf05a 330/427: Give up compiling at compile time., ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 59147c4cdf 373/427: Update README paragraph about automatic downloads (#46), ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 936ac5bc86 386/427: Define emacsql using cl-defgeneric, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql e597696682 358/427: Fix some indentation (whitespace cleanup), ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 76489e0a10 362/427: Tweak Makefile documentation, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 8c5f095458 368/427: Bump to version 3.0.0 (#20), ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 49348329df 376/427: Document op. precedence handling, clean up format string expansion, ELPA Syncer, 2022/12/13
- [nongnu] elpa/emacsql 50ae54d159 053/427: Use expressions in select columns., ELPA Syncer, 2022/12/13