Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement direct output to stdout and stderr #113

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

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