From ab3358e5a3b499a6002b6b891aeb193e52c75420 Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Fri, 24 Aug 2018 02:59:18 +0200 Subject: [PATCH] Add make fmt --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2805d72c..05bcf895 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ all: tgo tgo: build/tgo -.PHONY: all tgo run-hello run-blinky clean gen-device gen-device-nrf +.PHONY: all tgo run-hello run-blinky clean fmt gen-device gen-device-nrf # Custom LLVM toolchain. LLVM := $(shell go env GOPATH)/src/github.com/aykevl/llvm/bindings/go/llvm/workdir/llvm_build/bin/ @@ -77,6 +77,9 @@ endif clean: @rm -rf build +fmt: + go fmt . ./src/examples/hello ./src/runtime + gen-device: gen-device-nrf gen-device-nrf: