]> git.lizzy.rs Git - micro.git/blobdiff - Makefile
Merge pull request #1241 from Danmou/patch-1
[micro.git] / Makefile
index 329d03d3abf739aec1da03dbc97cf8a79736ee7a..e03ee2fc7ed7a3045410cf210fcc53db1b27a4e5 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -34,13 +34,14 @@ install-quick:
 
 update:
        git pull
-       git submodule update
+       git submodule update --init
 
 # Builds the runtime
 runtime:
        go get -u github.com/jteeuwen/go-bindata/...
        $(GOBIN)/go-bindata -nometadata -o runtime.go runtime/...
        mv runtime.go cmd/micro
+       gofmt -w cmd/micro/runtime.go
 
 test:
        go test ./cmd/micro