mirror of
https://github.com/stevenhowes/TinyGo-Pico-PWM.git
synced 2026-05-26 15:53:47 +01:00
21 lines
236 B
Makefile
21 lines
236 B
Makefile
.DEFAULT_GOAL := install
|
|
|
|
fmt:
|
|
go mod tidy
|
|
go fmt ./...
|
|
.PHONY:fmt
|
|
|
|
lint: fmt
|
|
golint ./...
|
|
.PHONY:lint
|
|
|
|
vet: fmt
|
|
# Need to work this out for tinygo..
|
|
# go vet ./...
|
|
.PHONY:vet
|
|
|
|
install: vet
|
|
tinygo flash -target=pico
|
|
.PHONY:install
|
|
|