Ryan C. Thompson
34fd8f9a2f
Merge branch 'compile-after-build'
...
Conflicts:
el-get-build.el
test/el-get-issue-592.el
2012-03-18 13:56:28 -07:00
Ryan C. Thompson
454b9d7444
Ensure batch-mode for el-get-byte-compile-from-stdin
...
It raises an error if it is run interactively.
2012-03-07 18:23:32 -08:00
Ryan C. Thompson
9826d96669
Prevent printing "Lisp expression: " when reading expression from stdin
2012-03-07 18:23:32 -08:00
Ryan C. Thompson
85f273b740
Clean elc file if it is the *same* age as el file
...
Before, it would only be cleaned if it was older. Now being exactly
the same age also means it gets cleaned. This is because if they are
the same age, we don't know which came first, so we just have to
assume that the elc file is stale and recreate it.
2012-02-26 14:51:27 -08:00
Ryan C. Thompson
d639825957
Eliminate unnecessary quotes
2012-02-26 14:50:12 -08:00
Ryan C. Thompson
267e846afa
Always run el-get-compile-process
...
Since el-get-byte-compile-process now does stale elc cleaning, it
needs to be run even if there's nothing to compile.
2012-02-26 14:33:32 -08:00
Ryan C. Thompson
8eff9779d9
Adjust warning in byte-compilation subprocess
...
It now only warns if both the list of files to compile and the
directory to clean are *both* nil.
2012-02-26 14:32:25 -08:00
Dimitri Fontaine
7bfcb21573
Fix the new function `el-get-clean-stale-compiled-files'.
2012-02-26 15:01:56 +01:00
Diego Sevilla Ruiz
b1f0dfdf87
Fix of el-get-clean-stale-compiled-files'. Was missing an ending
)'.
2012-02-26 12:54:49 +01:00
Ryan C. Thompson
2bc05e2fdc
Don't recurse into various special directories.
...
Mostly version control directories and cache directories and the like.
2012-02-26 03:04:11 -08:00
Ryan C. Thompson
dc4c44b0e5
Move "el-get-clean-stale-compiled-files" before the function that uses it
2012-02-25 13:41:31 -08:00
Ryan C. Thompson
541782b61f
Do pre-compile cleaning in the same process as compiling
2012-02-25 13:41:31 -08:00
Ryan C. Thompson
9dc0d0465c
Clean stale elc files before compiling
2012-02-25 11:34:47 -08:00
Ryan C. Thompson
e233dcef76
Add warning for possible corrupted input
2012-02-20 13:11:11 -08:00
Ryan C. Thompson
eb1f654327
Remove obsolete functions
2012-02-14 14:41:12 -08:00
Ryan C. Thompson
9c3a09f5f4
Remove obsolete variables
2012-02-14 14:37:55 -08:00
Ryan C. Thompson
647b123f70
Pass a plist instead of code over stdin
2012-02-14 10:59:15 -08:00
Ryan C. Thompson
7c52c7b5a6
Fix syntax
2012-02-13 17:05:04 -08:00
Ryan C. Thompson
4ac2018566
Pass code to eval via stdin instead of command-line
2012-02-13 16:22:09 -08:00
Sudish Joseph
edc100fd4d
Fix typo naming el-get-all-symbol-files-1
2012-02-13 16:09:54 -08:00
Ryan C. Thompson
74f8a59fb6
Pass load-path to byte-compiling child process
...
Also, pass list of files to be byte-compiled as a lisp form on the
command line instead of stdin, and use a more future-proof method of
determining which elisp files the child process needs to load.
2012-02-13 16:09:08 -08:00
Sudish Joseph
01970efaa0
Fix file matching when :compile contains regexps.
2012-02-11 06:56:39 +08:00
Dimitri Fontaine
ce8a7e3899
Fix el-get-byte-compile in recent Emacs snapshot.
...
byte-compile-file behaviour changed yet again, so stop trying to guess if we
can rely on it and just define our own behaviour.
2011-10-11 20:40:57 +02:00
Ryan C. Thompson
996e798bfc
Don't call shell-quote-argument in el-get-byte-compile-process
...
Same reason as in 11ef806a
. The result of this function is passed to
`el-get-start-process-list` with a `:shell t` option, which results in
shell-quoting. So doing it here is redundant and potentially harmful.
2011-10-06 01:49:35 -07:00
Dimitri Fontaine
8db0c4d49b
Fix the refactoring so that it actually works.
...
This includes teaching methods that they now work with a symbolp PACKAGE,
some more cleaning up, and some load-path adjustments now that a part of the
code is in a subdirectory (methods).
Also include some of the tests used to convince oneself that the refactoring
didn't break any and all use cases for el-get, with some rough documentation
about how to use them.
2011-09-22 21:48:11 +02:00
Dimitri Fontaine
0433ca0ce9
Refactoring it all: a beginning. No time for testing yet, just showing ideas.
2011-09-20 15:15:52 +02:00