15 Commits

Author SHA1 Message Date
Tim Crawford
3fe0e2f4e4 Add hidapi deps
ectool uses hidapi, which requires cc and pkg-config to be available.

This fixes building ectool on a minimal install system.
2021-05-25 09:15:02 -06:00
Tim Crawford
aa880033e3 Add missing xxd dep 2021-05-14 12:48:34 -06:00
Tim Crawford
316376c271 Add deps for Arch Linux 2021-05-14 12:48:34 -06:00
Tim Crawford
8bdcf243ec Add lint to ensure spaces are used for indentation 2021-05-07 12:44:48 -06:00
Tim Crawford
4963e04a83 Reindent files using spaces 2021-05-07 12:44:48 -06:00
Tim Crawford
9a3ecba010 scripts: Add coccinelle file to use BIT macro 2021-05-07 11:24:25 -06:00
Ian Douglas Scott
1ea21aedbe deps.sh: Run apt-get update
Hopefully this will fix the CI tests. This is a common enough issue on
CI that Travis mentions it in their documentation:
https://docs.travis-ci.com/user/common-build-problems/#linux-apt-fails-to-install-package-with-404-error
2021-04-13 11:04:51 -06:00
Tim Crawford
17f8e37ed5 Convert toolchain file to TOML syntax
rustup 1.23.0 (2020-11-27) introduced support for TOML syntax for the
toolchain file. Use this and specify required compoenents.

To ensure you are using a new enough rustup, run:

    rustup self update
2021-03-15 10:09:42 -06:00
Jeremy Soller
9ad6b54aed Fix requiring sudo to run power.sh 2021-03-08 15:54:19 -07:00
Tim Crawford
340ddd2e81 deps: Install libudev 2021-02-23 09:29:16 -07:00
Tim Crawford
ba99aec1b7 deps: Skip installing Rust if rustup is available
Saves time and prevents errors with trying to install rustup twice or
potentially overriding the user's default toolchain.
2021-02-22 16:26:14 -07:00
Tim Crawford
3e154d7f00 Add missing SPDX identifiers 2021-02-22 14:02:18 -07:00
Tim Crawford
3e742b0da7 Add script to check for SPDX identifiers 2021-02-22 14:02:18 -07:00
Tim Crawford
55b6256ed6 Add script for installing dependencies 2021-02-22 09:04:50 -07:00
Tim Crawford
2ac214352b Move scripts from top-level to scripts/ 2021-02-22 09:04:50 -07:00