Build tool writes logfile

48 views
Skip to first unread message

WayneS

unread,
Aug 15, 2015, 9:55:08 AM8/15/15
to tup-users
So one of the tools in my build environment writes a logfile. I can't turn off the logfile and it doesn't happen to be in a .hidden directory.
Since tup doesn't allow me to ignore certain dependencies that are detected I can't use it.
Am I missing something?


Freddie Chopin

unread,
Aug 16, 2015, 3:44:21 AM8/16/15
to tup-...@googlegroups.com
Can't you specify this file as output? You could also try to use "combined"
command like "build-tool ... && rm -rf logfile.log".

Regards,
FCh

Wayne Scott

unread,
Aug 16, 2015, 6:07:32 AM8/16/15
to tup-users
I can't make it an output because it appends to the file.
Deleting the logfile seems possible, but rather unappealing.


--
--
tup-users mailing list
email: tup-...@googlegroups.com
unsubscribe: tup-users+...@googlegroups.com
options: http://groups.google.com/group/tup-users?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "tup-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/tup-users/wAHJv1yWROs/unsubscribe.
To unsubscribe from this group and all its topics, send an email to tup-users+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Simon Werbeck

unread,
Aug 16, 2015, 7:39:29 AM8/16/15
to tup-...@googlegroups.com
You could try appending the logfile to a hidden file, then removing it. Something like this: "build-tool ... && cat logfile >> .logfile && rm -f logfile". Of course, if your log file initially exists, you have to move it beforehand or tup will complain when your command removes it.

Cheers,

Simon
You received this message because you are subscribed to the Google Groups "tup-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tup-users+...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages