Skip to content

Commit

Permalink
Makefile: exit on failure
Browse files Browse the repository at this point in the history
Signed-off-by: Carmen Bianca BAKKER <[email protected]>
  • Loading branch information
carmenbianca committed Nov 21, 2023
1 parent 4432d96 commit 90f1aac
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 @@ -45,11 +45,11 @@ clean-docs: ## remove docs build artifacts

.PHONY: reuse
reuse: dist ## check with self
poetry run reuse lint
poetry run reuse lint || exit 1
tar -xf dist/reuse*.tar.gz -C dist/
# This prevents the linter from using the project root as root.
git init dist/reuse*/
poetry run reuse --root dist/reuse*/ lint
poetry run reuse --root dist/reuse*/ lint || exit 1

.PHONY: lint-third-party
lint-third-party: ## Lint selected third-party repositories to compare with expected output
Expand Down

0 comments on commit 90f1aac

Please sign in to comment.