Skip to content

Implement direct output to stdout and stderr#113

Open
cspiel wants to merge 2 commits intoocaml-omake:masterfrom
cspiel:direct-output
Open

Implement direct output to stdout and stderr#113
cspiel wants to merge 2 commits intoocaml-omake:masterfrom
cspiel:direct-output

Conversation

@cspiel
Copy link
Collaborator

@cspiel cspiel commented May 23, 2018

Try to implement an option (--output-direct) that circumvents the usual
redirections that OMake applies to any command.

At its current state the change already allows for interesting tests like,
for example,

section
        OMakeFlags(--output-direct)

        .PHONY: mirar
        mirar:
                w3m $(HOME)/src/omake.git/doc/html/omake-doc.html

What is missing is an output of the active rule and the command line itself.
This is what --output-normal prints in case of the command outputting
anything. For planned option --output-direct I think this information
ought to be printed always.

cspiel added 2 commits May 20, 2018 18:23
The newly introduced option `--output-direct' lets OMake bypass all
redirections (if a job runs locally).  See updated documentation for
an example.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant