-
Notifications
You must be signed in to change notification settings - Fork 3
/
Makefile
70 lines (61 loc) · 1.61 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
build:
docker build -t hexlet/languagetool-cli .
bash:
docker run --rm -it \
-v ./fixtures:/content \
-v ./bin:/LanguageTool-6.4/bin \
-v ./src:/LanguageTool-6.4/src \
hexlet/languagetool-cli bash
check:
docker run --rm \
-v ./fixtures:/content \
-v ./bin:/LanguageTool-6.4/bin \
-v ./src:/LanguageTool-6.4/src \
hexlet/languagetool-cli \
node ./bin/run.js check /content/**/*.md
fix:
docker run --rm \
-v ./fixtures:/content \
-v ./bin:/LanguageTool-6.4/bin \
-v ./src:/LanguageTool-6.4/src \
hexlet/languagetool-cli \
node ./bin/run.js fix /content/**/*.md
ignore:
docker run --rm \
-v ./fixtures:/content \
-v ./bin:/LanguageTool-6.4/bin \
-v ./src:/LanguageTool-6.4/src \
hexlet/languagetool-cli \
node ./bin/run.js ignore /content/**/*.md
test:
docker run --rm \
-v ./fixtures:/content \
hexlet/languagetool-cli
getWords:
docker run --rm \
-v ./fixtures:/content \
-v ./bin:/LanguageTool-6.4/bin \
-v ./src:/LanguageTool-6.4/src \
hexlet/languagetool-cli \
node ./bin/run.js words /content/**/*.md -f /content/wrong_words.txt
help-check:
docker run --rm \
-v ./fixtures:/content \
-v ./bin:/LanguageTool-6.4/bin \
-v ./src:/LanguageTool-6.4/src \
hexlet/languagetool-cli \
node ./bin/run.js check -h
help-fix:
docker run --rm \
-v ./fixtures:/content \
-v ./bin:/LanguageTool-6.4/bin \
-v ./src:/LanguageTool-6.4/src \
hexlet/languagetool-cli \
node ./bin/run.js fix -h
help-words:
docker run --rm \
-v ./fixtures:/content \
-v ./bin:/LanguageTool-6.4/bin \
-v ./src:/LanguageTool-6.4/src \
hexlet/languagetool-cli \
node ./bin/run.js words -h