diff options
author | 2017-05-15 09:41:33 +0200 | |
---|---|---|
committer | 2017-05-15 09:41:33 +0200 | |
commit | a10118ef3bd50dc146452d7b2f0c6cd9c7d08b22 (patch) | |
tree | a9e535a2e3e252cfaebd96f7e1b5390359676385 | |
parent | ce833be819475cc2eeac8c90ea6587ea1b808b91 (diff) |
add output log build_xxxxx.log
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | Makefile | 4 |
2 files changed, 3 insertions, 2 deletions
@@ -1,2 +1,3 @@ .*.sw* INSTALL/DEBUG +build*.log @@ -77,7 +77,7 @@ build-debug: INSTALL/flavours/$(FLAVOUR).tasks @echo "------------------- Building image $(NAME)-$(FLAVOUR) (debug mode) -------------------" @touch INSTALL/DEBUG @echo "FLAVOUR=$(FLAVOUR)" >INSTALL/flavour.conf - @docker build --no-cache=true --rm --pull -t $(IMAGE_NAME) . + @docker build --no-cache=true --rm --pull -t $(IMAGE_NAME) . | tee build_$(FLAVOUR)_debug.log @rm -f INSTALL/DEBUG INSTALL/flavour.conf @docker images @@ -89,7 +89,7 @@ build: INSTALL/flavours/$(FLAVOUR).tasks @echo "------------------- Building image $(NAME)-$(FLAVOUR) -------------------" @rm -f INSTALL/DEBUG @echo "FLAVOUR=$(FLAVOUR)" >INSTALL/flavour.conf - @docker build --no-cache=true --rm --pull -t $(IMAGE_NAME) . + @docker build --no-cache=true --rm --pull -t $(IMAGE_NAME) . | tee build_$(FLAVOUR).log @rm -f INSTALL/flavour.conf @docker images |