Re: [AAP] list of updated sources
Bram Moolenaar <[email protected]> Wed, 07 Jul 2004 11:13:12 +0200
| Newsgroups | gmane.comp.tools.aap.user |
|---|---|
| Message-ID | <[email protected]> |
Luc Hermitte wrote: > I'm trying to get the list of the files that have been modified since > the last execution of aap. > > So far, I've used the trick "Copying All Files At Once" (in > user-publish.html). However I do not just want to copy the files on my > web site but first convert them in a _single_ action. For what reason can't you do the conversion in the "finally" commands? > The trick with "finally" does not seems really appropriated as it happens > at the very end of the execution of A-A-P. > In there another way to build the list of updated files ? Not directly. But perhaps you can use a trick: From inside the recipe invoke Aap to echo the list of outdated files. Then use this list to do what you want to do. To echo the list make another recipe in which the rule only echoes the name of the source file. Use :syseval to catch the output of "aap -f receip", then filter out any parts you don't want. I'm not sure if you want to make it so complicated though. > PS: Two days ago I tried to post this message directly via gmane. It > seems the message never reached the list. I hope, now I'm subscribed, > that it won't appear twice. I don't think sending a message to gmane works. It's for archiving only. -- A special cleaning ordinance bans housewives from hiding dirt and dust under a rug in a dwelling. [real standing law in Pennsylvania, United States of America] /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ Project leader for A-A-P -- http://www.A-A-P.org /// \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html /// ------------------------------------------------------- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com