mohkale / compile-multi Goto Github PK
View Code? Open in Web Editor NEWMulti target interface to compile.
License: GNU General Public License v3.0
Multi target interface to compile.
License: GNU General Public License v3.0
It looks like values from compile-multi-forms
are not substituted into compile-multi-config
.
Can be reproduced in emacs -Q
(setq compile-multi-forms '((file-name . (buffer-file-name))))
(setq compile-multi-config '((t ("say file name" "echo" file-name))))
compile-multi
in some file, it will complain: Invalid function: "say file name"(setq compile-multi-config '((t ("say file name" "echo" (buffer-file-name)))))
compile-multi
in some file, it will work correctlyThese lines are somewhat suspicious:
compile-multi/compile-multi.el
Lines 110 to 115 in f4c3157
If I change let*
to this, everything works fine:
(let* ((val (or (alist-get it compile-multi-forms)
it))
(evaluated-value (eval val)))
(unless (stringp evaluated-value)
(error "Failed to stringify task argument %s" val))
evaluated-value)
Hi,
I saw this pop up on the MELPA feed today so I'm intrigued if this is a route to enabling similar consult powered compile features that I currently achieve with counsel's compile (https://github.com/abo-abo/swiper/blob/master/counsel.el#L6371). I was involved in writing that and one feature that was important was dealing with build directories. This meant counsel-compile goes through multiple selection stages allowing you to either select a previous build command from history, or select a build dir at which point it could then extract targets from the Makefile.
Is this something you could approach with compile-multi directly or should I look at doing this within the projection-multi-compile extensions?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.