[pedevel] Re: jam integration with pe

  • From: "Andrew Bachmann" <shatty@xxxxxxxxxxxxx>
  • To: pedevel@xxxxxxxxxxxxx
  • Date: Thu, 27 May 2004 06:28:26 -0700 PDT

Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx> wrote:
> On Wed, 26 May 2004, Andrew Bachmann wrote:
> 
> A common MIME type sounds like a good idea. I wonder though, if it
> should better include a vendor string, like text/x-vnd.perforce.jam?

Either way sounds okay to me.
 
> BTW, you haven't by accident written a MIME sniffer rule to recognize jam
> files? That would be cool, though I suspect, it's quite hard to do.

I haven't, but I suspect that checking for these would be pretty good:

SubDir .... ;
rule ... { .... }
include ... ; 
# ... jam ... 

The SubDir rule would catch pretty much any Jamfile in the OBOS tree,
I think.  The last one could be used intentionally to force a hit.

Andrew


Other related posts: