silnrsi / smith

font development, testing and release
Other
14 stars 5 forks source link

When doing multiple runs of grcompiler, gdlerr.txt gets overwritten #47

Closed n7s closed 6 years ago

n7s commented 6 years ago

Grcompiler defaults to gdlerr.txt for error output. Doing multiple runs (like in a CI) currently causes information loss because that file gets overwritten by the last output. We need a way to keep separate files per run.

See https://github.com/silnrsi/grcompiler/issues/2 for a new parameter in grcompiler

Alternatively we do file renames (redirects?) in smith directly every time: maybe something like $FooFont-$weight-gdl-errors.txt

mhosken commented 6 years ago

Waiting on a release of grcompiler with the added CLI

n7s commented 6 years ago

-e param has now been added to grcompiler. One further issue is that default output files should be out-of-tree in the out variable but currently this is very dependent on how the wscript is set. The files can end up in source/ for example. Should we think of a more generic log subfolder where these would end up? And then make that the default for grcompiler handling in smith?

bobh0303 commented 6 years ago

Fixed. Further discussion about in-tree and out-of-tree in #52