Skip to content

Commit

Permalink
fix(makefile): simplification
Browse files Browse the repository at this point in the history
  • Loading branch information
koromerzhin committed Sep 2, 2021
1 parent 1cf08c9 commit 972ca59
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
13 changes: 1 addition & 12 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,6 @@ ifneq "$(SUPPORTS_MAKE_ARGS)" ""
$(eval $(COMMAND_ARGS):;@:)
endif

GREEN := \033[0;32m
RED := \033[0;31m
YELLOW := \033[0;33m
NC := \033[0m
NEED := ${GREEN}%-20s${NC}: %s\n
MISSING :=${RED}ARGUMENT missing${NC}\n
ARGUMENTS := make ${PURPLE}%s${NC} ${YELLOW}ARGUMENT${NC}\n

install: node_modules ## Installation
@make docker deploy -i

Expand All @@ -27,10 +19,7 @@ ifeq ($(COMMAND_ARGS),all)
else ifeq ($(COMMAND_ARGS),readme)
@npm run linter-markdown README.md
else
@printf "${MISSING}"
@echo "---"
@printf "${ARGUMENTS}" linter
@echo "---"
@printf "${MISSING_ARGUMENTS}" linter
@printf "${NEED}" "all" "## Launch all linter"
@printf "${NEED}" "readme" "linter README.md"
endif
2 changes: 1 addition & 1 deletion make
Submodule make updated 2 files
+5 −28 docker/Makefile
+2 −6 general/Makefile

0 comments on commit 972ca59

Please sign in to comment.