Skip to content

Commit

Permalink
Merge pull request #59 from dzencot/main
Browse files Browse the repository at this point in the history
fix spellcheck command
  • Loading branch information
fey authored Jul 23, 2024
2 parents 3a31131 + d9ff41f commit b7ebbf3
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
4 changes: 1 addition & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ pull:
docker pull hexlet/hexlet-java
docker pull hexlet/hexlet-javascript
docker pull hexlet/hexlet-php
docker pull hexlet/languagetool-cli

create-config:
cp -n .env.example .env || echo 'already exists'
Expand Down Expand Up @@ -76,6 +77,3 @@ build-localizer: create-localizer-config
--build-arg UID=$(UID) \
--build-arg GID=$(GID) \
./content-localizer

spellcheck-courses:
docker run -v ./courses:/content hexlet/languagetool-cli
3 changes: 2 additions & 1 deletion course.mk
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,8 @@ markdown-lint-fix:
npx markdownlint -f -c ../../../.markdownlint.json ${CURDIR}

spellcheck:
npx languagetool-node ./**/*.md
docker run --rm -v ./:/content hexlet/languagetool-cli node ./bin/run.js check /content/**/*.md

print-course-lessons-names:
$(ROOT_DIR)/scripts/print-course-lessons-names

3 changes: 3 additions & 0 deletions docker.mk
Original file line number Diff line number Diff line change
Expand Up @@ -140,3 +140,6 @@ markdown-lint:

markdown-lint-fix:
npx markdownlint -f -c ../../../../.markdownlint.json ${CURDIR}

spellcheck:
docker run --rm -v ./:/content hexlet/languagetool-cli node ./bin/run.js check /content/**/*.md

0 comments on commit b7ebbf3

Please sign in to comment.