Skip to content

Commit

Permalink
KAZOO-5728: remove the release path echo (#4282)
Browse files Browse the repository at this point in the history
only format if there's something to format
  • Loading branch information
k-anderson authored and jamesaimonetti committed Oct 19, 2017
1 parent fd18856 commit 8efa16b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
7 changes: 2 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -188,9 +188,8 @@ bump-copyright:
$(FMT):
wget -qO - 'https://codeload.github.com/fenollp/erlang-formatter/tar.gz/master' | tar xz -C $(ROOT)/make/

fmt: TO_FMT ?= $(shell find applications core -iname '*.erl' -or -iname '*.hrl' -or -iname '*.app.src')
fmt: $(FMT)
@$(FMT) $(TO_FMT)
@$(if $(TO_FMT), @$(FMT) $(TO_FMT))

code_checks:
@ERL_LIBS=deps/:core/:applications/ $(ROOT)/scripts/no_raw_json.escript
Expand Down Expand Up @@ -242,7 +241,6 @@ sdks:
validate-schemas:
@$(ROOT)/scripts/validate-schemas.sh $(ROOT)/applications/crossbar/priv/couchdb/schemas


CHANGED := $(shell git --no-pager diff --name-only HEAD origin/master -- applications core scripts)
TO_FMT := $(shell git --no-pager diff --name-only HEAD origin/master -- "*.erl" "*.hrl" "*.escript")
CHANGED_SWAGGER := $(shell git --no-pager diff --name-only HEAD origin/master -- applications/crossbar/priv/api/swagger.json)
Expand All @@ -269,8 +267,7 @@ circle-codechecks:
@./scripts/validate-js.sh $(CHANGED)

circle-fmt:
@echo $(TO_FMT)
@$(if $(TO_FMT), TO_FMT="$(TO_FMT)" $(MAKE) fmt)
@$(MAKE) fmt
@$(MAKE) elvis

circle-build:
Expand Down
1 change: 0 additions & 1 deletion core/sup/priv/sup
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@ else
echo "Can't find Kazoo release root directory, is the release built?"
exit -1
fi
echo "Release path: $DEFAULT_ROOT"

while getopts "n:c:" optname
do
Expand Down

0 comments on commit 8efa16b

Please sign in to comment.