More test; begin test infra stuff

This commit is contained in:
Philipp Heckel 2021-12-07 12:23:42 -05:00
parent 37fafd09e7
commit fd71589f60
4 changed files with 63 additions and 8 deletions

View file

@ -38,6 +38,10 @@ help:
@echo " make install-lint - Install golint"
# Documentation
docs: .PHONY
mkdocs build
# Test/check targets
check: test fmt-check vet lint staticcheck
@ -88,9 +92,6 @@ staticcheck: .PHONY
# Building targets
docs: .PHONY
mkdocs build
build-deps: docs
which arm-linux-gnueabi-gcc || { echo "ERROR: ARMv6/v7 cross compiler not installed. On Ubuntu, run: apt install gcc-arm-linux-gnueabi"; exit 1; }
which aarch64-linux-gnu-gcc || { echo "ERROR: ARM64 cross compiler not installed. On Ubuntu, run: apt install gcc-aarch64-linux-gnu"; exit 1; }