Files
bacnet_stack/aptfile
T
Kari Argillander 9e0657424e Prepere repo so we can run auto formatters (#747)
* clang-format: Ignore javascript files

Ignore javascript files. Clang-format is not very good formatter for
javascript files anyway. If we ever need javascript formatter we should
use Prettier.

* clang-format: Ignore some lines in sources

Couple things get formatted really funky if we let clang-format format
those. Just ignore those locally.

* zephyr/tescase.yaml: Fix yaml syntax

pre-commit hook check-yaml did found out that there are two skips.
Remove another as this is not right syntax.

* Fix repo contains unicode replacement chars

When running pre-commit text-unicode-replacement-char it founds that
there is couple unicode replacemnt chars. Remove and replace these.

* Convert some tabs to spaces manually

We will soon auto format tabs to spaces. How ever it could not do couple
thing so fix those by hand first.

* Make files with shebang executables

It is good habit that if file has shebang then it is marked executable.
These where found with pre-commit check-shebang-scripts-are-executable
checker.

---------

Co-authored-by: Kari Argillander <kari.argillander@fidelix.com>
2024-08-23 17:58:41 -05:00

55 lines
1.1 KiB
Plaintext
Executable File

#!/usr/bin/env aptfile
# ^ note the above shebang
# https://github.com/seatgeek/bash-aptfile
# trigger an apt-get update
update
# install core development packages
package "build-essential"
package "cmake"
package "lcov"
package "clang"
package "gcc"
package "libconfig-dev"
package "liblwip-dev"
package "mingw-w64"
# install git and useful tools packages
package "git"
package "gitk"
package "gitg"
# install source code format packages
package "tofrodos"
package "clang-format"
package "sloccount"
package "complexity"
package "pmccabe"
# install ARM compiler and debugging tools
package "gcc-arm-none-eabi"
package "binutils-arm-none-eabi"
package "picolibc-arm-none-eabi"
package "gdb-multiarch"
# install AVR compiler and debugging tools
package "gcc-avr"
package "avarice"
package "avr-libc"
package "avrdude"
package "gdb-avr"
package "avrdude-doc"
# install static analysis tools
package "flawfinder"
package "cppcheck"
package "splint"
package "clang-tools"
package "clang-tidy"
package "codespell"
# you can also execute arbitrary bash
echo "🚀 ALL GOOD TO GO"