Skip to content

Commit

Permalink
Add Lint commands to Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
volodymyrZotov committed Nov 20, 2023
1 parent 537ff95 commit e6e7d07
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ SCRIPTS_DIR := $(CURDIR)/scripts

curVersion := $$(sed -n -E 's/^version: "([0-9]+\.[0-9]+\.[0-9]+)"$$/\1/p' galaxy.yml)

lint:
@ansible-lint --offline

lint/fix:
@ansible-lint --offline --fix

test/unit: ## Run unit tests in a Docker container
$(SCRIPTS_DIR)/run-tests.sh units

Expand Down

0 comments on commit e6e7d07

Please sign in to comment.