diff --git a/script/amalgamate.py b/script/amalgamate.py index ced3f6b..3565922 100644 --- a/script/amalgamate.py +++ b/script/amalgamate.py @@ -27,7 +27,10 @@ for filename in ['LICENSE-MIT', 'LICENSE-APACHE', 'LICENSE-BOOST']: text = '' for line in lines: - text += '// ' + line.strip() + '\n' + line = line.strip() + if len(line): + line = ' ' + line + text += '//' + line + '\n' processed_files[filename] = text # code