eliminate prompting when make rm is used
add "make update_xos" target
for cord-pod, make rm should perform make stop
Change-Id: Ie2aa2d80d7dd5c91478c6960c1b3dc1d84174ddb
diff --git a/frontend/Makefile b/frontend/Makefile
index 20aa487..1a7a1f1 100644
--- a/frontend/Makefile
+++ b/frontend/Makefile
@@ -32,6 +32,9 @@
update_services:
make -f ../common/Makefile.services update
+update_xos:
+ make -f ../common/Makefile.services update_xos
+
bootstrap:
echo "[BOOTSTRAP]"
sudo rm -f onboarding-docker-compose/docker-compose.yml
@@ -65,8 +68,8 @@
sudo docker-compose -p $(BOOTSTRAP_PROJECT) -f $(BOOTSTRAP_YML) logs
rm: stop
- test ! -s $(DOCKER_COMPOSE_YML) || sudo docker-compose -p $(DOCKER_PROJECT) -f $(DOCKER_COMPOSE_YML) rm
- sudo docker-compose -p $(BOOTSTRAP_PROJECT) -f $(BOOTSTRAP_YML) rm
+ test ! -s $(DOCKER_COMPOSE_YML) || sudo docker-compose -p $(DOCKER_PROJECT) -f $(DOCKER_COMPOSE_YML) rm -f
+ sudo docker-compose -p $(BOOTSTRAP_PROJECT) -f $(BOOTSTRAP_YML) rm -f
ps:
sudo docker-compose ps