Skip to content

Commit

Permalink
Merge pull request #7 from evanread/add-mdspell
Browse files Browse the repository at this point in the history
Add support for MDSpell and Yarn.
  • Loading branch information
brendo authored Feb 24, 2017
2 parents f6e63c6 + f30c06d commit dce2ac4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ script:
- docker run testimage python --version
- docker run testimage pip list --format columns
- docker run testimage aws --version
- docker run testimage yarn --version

notifications:
slack:
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,4 +25,4 @@ RUN apk update --no-cache && apk --no-cache add \
python-markdown-math \
# Set registry, authentication token can be set at runtime.
&& npm set registry "http://registry.npmjs.org" \
&& npm install -g markdownlint-cli write-good && npm cache clean
&& npm install -g markdownlint-cli write-good yarn markdown-spellcheck && npm cache clean
9 changes: 7 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,12 @@ This project contains the Docker file required to build the documentation platfo
- [Node](https://nodejs.org/en/)
- [Python](https://www.python.org)
- [Pip](https://pypi.python.org/pypi)
- [AWS CLI](https://aws.amazon.com/cli/).
- [AWS CLI](https://aws.amazon.com/cli/)
- NPM packages:
- [Yarn](https://www.npmjs.com/package/yarn)
- [`markdownlint-cli`](https://www.npmjs.com/package/markdownlint-cli)
- [`write-good`](https://www.npmjs.com/package/write-good)
- [`markdown-spellcheck`](https://www.npmjs.com/package/markdown-spellcheck).

## Prerequisites

Expand All @@ -35,7 +40,7 @@ docker build -t {imagename} --build-arg SOURCE_COMMIT=$(git rev-parse --short HE

To log in to the previously built Docker image, run:

```
```sh
docker run -ti {imagename} sh
```

Expand Down

0 comments on commit dce2ac4

Please sign in to comment.