Skip to content

Commit 39d094d

Browse files
author
Pedro Crespo
committed
code-climate bash
1 parent 2cf8e82 commit 39d094d

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,9 +335,9 @@ openapi-specs: ## bundles and validates openapi specifications and schemas of AL
335335
.PHONY: code-analysis
336336
code-analysis: .codeclimate.yml ## runs code-climate analysis
337337
# Validates $<
338-
./scripts/code-climate.sh validate-config
338+
./scripts/code-climate.bash validate-config
339339
# Running analysis
340-
./scripts/code-climate.sh analyze
340+
./scripts/code-climate.bash analyze
341341

342342

343343
.PHONY: info info-images info-swarm info-tools

scripts/code-climate.sh renamed to scripts/code-climate.bash

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@ docker run \
1919
codeclimate/codeclimate "$@"
2020

2121

22-
if [ -z "$@" ];then
22+
if test -z "$@"
23+
then
2324
echo "----"
2425
echo "Listing other engines (in dockers)"
2526
docker images codeclimate/*

0 commit comments

Comments
 (0)