build: shorten configurate script print on stdout
Reduces the previously pretty-printed configuration dictionary to a single line wrapped at 78 characters. This makes warning messages which appear before this print more visible to the user. PR-URL: https://github.com/iojs/io.js/pull/483 Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl> Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com>
This commit is contained in:
parent
d566ded26b
commit
1b1cd1c3f8
3
configure
vendored
3
configure
vendored
@ -8,6 +8,7 @@ import subprocess
|
||||
import sys
|
||||
import shutil
|
||||
import string
|
||||
import textwrap
|
||||
|
||||
CC = os.environ.get('CC', 'cc')
|
||||
CXX = os.environ.get('CXX', 'c++')
|
||||
@ -960,7 +961,7 @@ output = {
|
||||
'variables': variables,
|
||||
'target_defaults': output
|
||||
}
|
||||
pprint.pprint(output, indent=2)
|
||||
print textwrap.fill(str(output), 78)
|
||||
|
||||
write('config.gypi', do_not_edit +
|
||||
pprint.pformat(output, indent=2) + '\n')
|
||||
|
Loading…
x
Reference in New Issue
Block a user