Skip to content

Commit

Permalink
Build: ignore absence of docker-compose (#17331)
Browse files Browse the repository at this point in the history
If devenv/docker-compose.yaml file is missing, `devenv-down`
and subsequently `devenv` is not going to work
  • Loading branch information
markelog authored May 28, 2019
1 parent 9ff44b5 commit a1a498f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,8 @@ endif
# drop down the envs
devenv-down:
@cd devenv; \
docker-compose down;
test -f docker-compose.yaml && \
docker-compose down || exit 0;

# TODO recheck the rules and leave only necessary exclusions
gosec: scripts/go/bin/gosec
Expand Down

0 comments on commit a1a498f

Please sign in to comment.