Skip to content

Instantly share code, notes, and snippets.

@eseidelGoogle
Created February 5, 2016 20:23
Show Gist options
  • Save eseidelGoogle/498824928c7cec5f6375 to your computer and use it in GitHub Desktop.
Save eseidelGoogle/498824928c7cec5f6375 to your computer and use it in GitHub Desktop.
cat packages/flutter/doc/styles.html doc/_analytics.html > /tmp/_header.html
Became:
flutter_styles = checkout.join('packages', 'flutter', 'doc',
'styles.html')
analytics = checkout.join('doc', '_analytics.html')
header_contents = '\n'.join([
api.file.read('Read styles.html', flutter_styles),
api.file.read('Read _analytics.html', analytics),
])
header = temp_dir.join('_header.html')
api.file.write('Write _header.html', header)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment