chore: replace custom makefile with vale packages
This commit is contained in:
parent
c354fea55d
commit
31e09401bb
|
@ -1,18 +0,0 @@
|
|||
.PHONY: all
|
||||
|
||||
SHELL = bash
|
||||
|
||||
%.zip:
|
||||
wget -q $(URL) -O $@
|
||||
|
||||
Google.zip: URL=https://github.com/errata-ai/Google/releases/latest/download/Google.zip
|
||||
Microsoft.zip: URL=https://github.com/errata-ai/Microsoft/releases/latest/download/Microsoft.zip
|
||||
|
||||
%: %.zip
|
||||
unzip -qq $<
|
||||
touch $@
|
||||
|
||||
STYLES := ./Microsoft ./Google
|
||||
STYLES_ZIP := $(addsuffix .zip,$(STYLES))
|
||||
|
||||
all: $(STYLES)
|
|
@ -48,5 +48,5 @@ jobs:
|
|||
|
||||
- name: Run Vale
|
||||
run: |
|
||||
make -C .github/vale/styles
|
||||
vale sync
|
||||
vale --output line docs website/src/pages || true
|
||||
|
|
|
@ -1,6 +1,10 @@
|
|||
StylesPath = .github/vale/styles
|
||||
MinAlertLevel = warning
|
||||
|
||||
Packages = \
|
||||
https://github.com/errata-ai/Google/releases/latest/download/Google.zip, \
|
||||
https://github.com/errata-ai/Microsoft/releases/latest/download/Microsoft.zip
|
||||
|
||||
Vocab = Docs
|
||||
|
||||
[*.md]
|
||||
|
|
Loading…
Reference in New Issue