File tree 8 files changed +27
-36
lines changed
8 files changed +27
-36
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1
- name : Markdown Check
1
+ name : Checks
2
2
3
3
on :
4
4
push :
9
9
jobs :
10
10
markdownlint :
11
11
runs-on : ubuntu-latest
12
-
13
12
steps :
14
13
- name : check out code
15
14
uses : actions/checkout@v2
19
18
20
19
- name : run markdownlint
21
20
run : make markdownlint
21
+
22
22
markdown-link-check :
23
23
runs-on : ubuntu-latest
24
-
25
24
steps :
26
25
- name : check out code
27
26
uses : actions/checkout@v2
31
30
32
31
- name : run markdown-link-check
33
32
run : make markdown-link-check
33
+
34
+ misspell :
35
+ runs-on : ubuntu-latest
36
+ steps :
37
+ - name : check out code
38
+ uses : actions/checkout@v2
39
+
40
+ - name : install misspell
41
+ run : sudo make install-misspell
42
+
43
+ - name : run misspell
44
+ run : make misspell
Original file line number Diff line number Diff line change 23
23
.swp
24
24
25
25
# Misspell binary
26
- . tools
26
+ internal / tools / bin
Original file line number Diff line number Diff line change 2
2
ALL_DOCS := $(shell find . -name '* .md' -not -path './.github/* ' -type f | grep -v ^./node_modules | sort)
3
3
PWD := $(shell pwd)
4
4
5
- TOOLS_DIR := ./.tools
6
- MISSPELL_BINARY =$(TOOLS_DIR ) /misspell
5
+ TOOLS_DIR := ./internal/tools
6
+ MISSPELL_BINARY =bin/misspell
7
+ MISSPELL = $(TOOLS_DIR ) /$(MISSPELL_BINARY )
7
8
MARKDOWN_LINK_CHECK =markdown-link-check
8
9
MARKDOWN_LINT =markdownlint
9
10
10
11
11
12
.PHONY : install-misspell
12
13
install-misspell :
13
- go build -o $(MISSPELL_BINARY ) github.com/client9/misspell/cmd/misspell
14
+ cd $( TOOLS_DIR ) && go build -o $(MISSPELL_BINARY ) github.com/client9/misspell/cmd/misspell
14
15
15
16
.PHONY : misspell
16
17
misspell :
17
- $(MISSPELL_BINARY ) -error $(ALL_DOCS )
18
+ $(MISSPELL ) -error $(ALL_DOCS )
18
19
19
20
.PHONY : misspell-correction
20
21
misspell-correction :
21
- $(MISSPELL_BINARY ) -w $(ALL_DOCS )
22
+ $(MISSPELL ) -w $(ALL_DOCS )
22
23
23
24
.PHONY : install-markdown-link-check
24
25
install-markdown-link-check :
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ module github.com/open-telemetry/opentelemetry-specification/internal/tools
2
+
3
+ go 1.12
4
+
5
+ require github.com/client9/misspell v0.3.4
File renamed without changes.
Original file line number Diff line number Diff line change 15
15
16
16
// +build tools
17
17
18
- package internal
18
+ package tools
19
19
20
20
// This file follows the recommendation at
21
21
// https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module
You can’t perform that action at this time.
0 commit comments