mirror of https://github.com/linkerd/website.git
chore: update lint and check command (#1276)
* chore: update lint and check command Signed-off-by: Takumi Sue <u630868b@alumni.osaka-u.ac.jp>
This commit is contained in:
parent
cc2967cd25
commit
d1eb6e0282
2
Makefile
2
Makefile
|
|
@ -56,7 +56,7 @@ tmp/%/public:
|
||||||
@printf "Missing tmp/$*/public. Run:\n\n\tmake build-$*\n\n"; exit 1
|
@printf "Missing tmp/$*/public. Run:\n\n\tmake build-$*\n\n"; exit 1
|
||||||
|
|
||||||
.PHONY: tmp-sites
|
.PHONY: tmp-sites
|
||||||
tmp-sites: tmp
|
tmp-sites: clean tmp
|
||||||
cp -R *linkerd.io tmp/
|
cp -R *linkerd.io tmp/
|
||||||
|
|
||||||
.PHONY: lint
|
.PHONY: lint
|
||||||
|
|
|
||||||
|
|
@ -10,7 +10,7 @@ Source code for the linkerd.io website.
|
||||||
```bash
|
```bash
|
||||||
docker run \
|
docker run \
|
||||||
--mount type=bind,source="$(pwd)",target=/website --workdir=/website \
|
--mount type=bind,source="$(pwd)",target=/website --workdir=/website \
|
||||||
buoyantio/website-builder:v1.3.3 make lint check
|
buoyantio/website-builder:v1.3.3 sh -c "make lint check"
|
||||||
```
|
```
|
||||||
|
|
||||||
1. Install Hugo 0.74.3 to run the site locally:
|
1. Install Hugo 0.74.3 to run the site locally:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue