Skip to content

Commit

Permalink
Makefile: run linter and unit tests from default target (opendatahub-…
Browse files Browse the repository at this point in the history
…io#735)

- rename default target `all` to `default`. Sounds more appropriate
  since there are a lot of other jobs left.
- depend `default` from `lint` and `unit-test`

It looks like more appropriate default for developers.

Related: opendatahub-io#696

Signed-off-by: Yauheni Kaliuta <ykaliuta@redhat.com>
(cherry picked from commit da15814)
  • Loading branch information
ykaliuta authored and VaishnaviHire committed Feb 2, 2024
1 parent c945c0f commit da8b27e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,8 @@ E2E_TEST_FLAGS = "--skip-deletion=false" -timeout 15m # See README.md, default g
# see target "image-build"
IMAGE_BUILD_FLAGS = --build-arg USE_LOCAL=false

.PHONY: all
all: build
.PHONY: default
default: lint unit-test build

##@ General

Expand Down

0 comments on commit da8b27e

Please sign in to comment.