[Scons-users] Build results of a scanner function?

Gary Oberbrunner garyo at oberbrunner.com
Thu Aug 16 10:05:35 EDT 2012


On Wed, Aug 15, 2012 at 4:43 PM, Justin Tulloss <justin at rd.io> wrote:

> Hello,

>

> This is a newbie question, so hopefully it's straightforward to answer. I'm

> using scons to build my web frontend. I have a list of .less files that I

> want to compile to .css files. These less files are listed in a manifest

> file. I have a scanner that reads the manifest file and returns the files

> listed. As I understand it, this makes them implicit dependencies of the

> target. How do I indicate that I want my .less builder to run against all of

> these source files?


Hi Justin, I think an Emitter might be better for this use than a
scanner. (See the man page, or the Users Guide:
http://www.scons.org/doc/HTML/scons-user.html#AEN3798)

--
Gary


More information about the Scons-users mailing list