5 Commits

Author SHA1 Message Date
Hossein Naghdbishi
cb2d0d9555
/bin/bash -> /usr/bin/env bash (#471)
Using env offers better portability
2023-04-19 16:25:41 -07:00
Eli Bendersky
7c160440be Use tabs as the canonical source indentation in git
Space conversion is done during generation only. Fixes #192
2019-06-04 07:30:58 -07:00
Mark McGranaghan
0a96c21881 Allows tools to use Go-standard formatting 2018-02-01 17:07:33 -05:00
Rafael Magana
d99a6a9c5e Per platform 'sed' command to format files to have 4 spaces (darwin and linux supported) 2015-04-16 14:06:22 -05:00
Joel Scoble
8e7a6bb086 Update format script for new gofmt
gofmt no longer supports `tabs` and `tabwidth`, but we still require
exactly-4-space tabs to preserve the narrow layout on gobyexample.com,
so re-implement this functionality with sed.
2014-12-13 14:19:07 -08:00