Skip to content

Commit

Permalink
Ignore md files
Browse files Browse the repository at this point in the history
  • Loading branch information
Benedikt Schesch committed May 16, 2024
1 parent 5702f73 commit b48b4d5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
.PHONY: all style clean test TAGS

all: style gradle-assemble

style: shell-script-style python-style java-style markdown-style

SH_SCRIPTS = $(shell grep --exclude-dir=build --exclude-dir=repos --exclude-dir=cache -r -l '^\#! \?\(/bin/\|/usr/bin/env \)sh' * | grep -v 'git-hires-merge' | grep -v /.git/ | grep -v '~$$' | grep -v '\.tar$$' | grep -v gradlew)
SH_SCRIPTS = $(shell grep --exclude-dir=build --exclude-dir=repos --exclude-dir=cache -r -l '^\#! \?\(/bin/\|/usr/bin/env \)sh' * | grep -v 'git-hires-merge' | grep -v /.git/ | grep -v '~$$' | grep -v '\.tar$$' | grep -v '\.md$' | grep -v gradlew)
BASH_SCRIPTS = $(shell grep --exclude-dir=build --exclude-dir=repos --exclude-dir=cache -r -l '^\#! \?\(/bin/\|/usr/bin/env \)bash' * | grep -v /.git/ | grep -v '~$$' | grep -v '\.tar$$' | grep -v gradlew)
PYTHON_FILES = $(shell find . -name '*.py' ! -path './repos/*' -not -path "./.workdir/*" -not -path "./cache*/*" | grep -v '/__pycache__/' | grep -v '/.git/' | grep -v gradlew)

Expand Down Expand Up @@ -31,7 +33,7 @@ check-python-style:
pylint -f parseable --disable=W,invalid-name --disable=W,duplicate-code ${PYTHON_FILES}

markdown-style:
markdownlint "*.md" --disable MD013 --no-recursive --ignore "node_modules/*"
markdownlint "*.md" --disable MD013

# This target deletes files that are not committed to version control.
clean:
Expand Down

0 comments on commit b48b4d5

Please sign in to comment.