caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Wojciech Meyer <wojciech.meyer@gmail.com>
To: "Daniel Bünzli" <daniel.buenzli@erratique.ch>
Cc: caml list <caml-list@inria.fr>
Subject: Re: [Caml-list] ocamlbuild untag ?
Date: Sun, 07 Jul 2013 19:16:11 +0100	[thread overview]
Message-ID: <wf4nc6me1g.fsf@gmail.com> (raw)
In-Reply-To: <779DD27DAC3542F6889F77C344458428@erratique.ch> ("Daniel \=\?utf-8\?Q\?B\=C3\=BCnzli\=22's\?\= message of "Sun, 7 Jul 2013 13:04:45 +0100")

Hi Daniel,

Daniel Bünzli <daniel.buenzli@erratique.ch> writes:
> ocamlbuild has
>
>    -tag <tag> Add to default tags
>
> does it have a way to -untag ?

At the moment we don't have this ability. However it's not entirely
trivial to add this functionality to ocamlbuild. The tag files assign a
set of tags to a set of paths. If we plan to do this the untag flag
would need to either create subsets which then require to keep the track
of the directory structure, or (more realistic) have explicit marking
which paths where untagged and resolve it at the build time.

For example for this tags file:

<src/*.ml>: use_unix, use_thread
true: debug

and now try to untag `debug' from src/*. So, this operation requires to
create a subset of what is in the tree, excluding src/*, or we can have
simply a marker {Tag, Untag} on the set of paths that have assigned
tags.

Patches welcome.

--
Wojciech

  reply	other threads:[~2013-07-07 18:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-07 12:04 Daniel Bünzli
2013-07-07 18:16 ` Wojciech Meyer [this message]
2013-07-07 18:45   ` Daniel Bünzli

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=wf4nc6me1g.fsf@gmail.com \
    --to=wojciech.meyer@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=daniel.buenzli@erratique.ch \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).