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
8c2ae2f9bd79dba0d05069e204d69e83ca7625c5
esp-idf/tools/format-minimal.sh

10 lines
211 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 parameters which should be checked in a pre-commit hook
astyle \
--style=otbs \
--indent=spaces=4 \
--convert-tabs \
--keep-one-line-statements \
--pad-header \
"$@"
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.3 Page: 100ms 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