Logo
Explore Help
Sign In
espressif/esp-idf
1
0
Fork 1
You've already forked esp-idf
mirror of https://github.com/espressif/esp-idf.git synced 2025-10-04 19:10:58 +02:00
Code Issues Packages Projects Releases Wiki Activity
Files
173f596159c6513ee75f6683e8f31408e85a76e6
esp-idf/tools/format.sh

15 lines
297 B
Bash
Raw Normal View History

global: use '/usr/bin/env bash' instead of '/usr/bin/bash' in shebangs Using the method from @cemeyer (https://github.com/espressif/esp-idf/pull/3166): find . -name \*.sh -exec sed -i "" -e 's|^#!.*bin/bash|#!/usr/bin/env bash|' {} + Closes https://github.com/espressif/esp-idf/pull/3166.
2020-04-03 01:10:02 +02:00
#!/usr/bin/env bash
docs: add style guide This adds initial code style guide. Only section on code formatting is written, other sections to be added later. Also adds scripts to format code using astyle.
2016-09-01 12:32:05 +08:00
# Runs astyle with the full set of formatting options
astyle \
--style=otbs \
Added basic C++ style guide * C++ style guide * Changed headings to "Title Case"
2019-09-25 11:08:21 +08:00
--attach-namespaces \
--attach-classes \
docs: add style guide This adds initial code style guide. Only section on code formatting is written, other sections to be added later. Also adds scripts to format code using astyle.
2016-09-01 12:32:05 +08:00
--indent=spaces=4 \
--convert-tabs \
--align-pointer=name \
--align-reference=name \
--keep-one-line-statements \
--pad-header \
--pad-oper \
"$@"
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.3 Page: 74ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API