More test; begin test infra stuff
This commit is contained in:
parent
37fafd09e7
commit
fd71589f60
4 changed files with 63 additions and 8 deletions
7
Makefile
7
Makefile
|
@ -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; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue