forked from EmpowerPlastic/empowerchain
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Earthfile
28 lines (25 loc) · 810 Bytes
/
Earthfile
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
VERSION 0.6
FROM earthly/dind:ubuntu
WORKDIR /empowerchain
check-md-links:
FROM ghcr.io/tcort/markdown-link-check:stable
WORKDIR /empowerchain
COPY . . # Until https://github.com/earthly/earthly/issues/1230
RUN echo "
{
\"ignorePatterns\": [
{
\"description\": \"Ignore in-page anchor links defined using <a id=''> syntax,. See https://github.com/tcort/markdown-link-check/issues/225\",
\"pattern\": \"^#\"
}
]
}" > markdown-link-check-config.json
RUN find . -name \*.md -print0 | xargs -0 -n1 markdown-link-check --quiet --config markdown-link-check-config.json
get-proto:
WORKDIR .
COPY chain/proto/empowerchain ./empowerchain
SAVE ARTIFACT .
get-cw-schema:
WORKDIR .
COPY cosmwasm/schema ./schema
SAVE ARTIFACT .