Skip to content

Commit fd8968d

Browse files
committed
Document and require yarn for makefile
[finishes vmware-tanzu#15]
1 parent 44029ca commit fd8968d

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

Diff for: Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
ADDLICENSE ?= go run -modfile hack/tools/go.mod github.com/google/addlicense
22

3+
ifeq ($(shell command -v yarn && echo yes),)
4+
$(error "Yarn (and node) must be installed")
5+
endif
6+
37
.PHONY: serve
48
serve:
59
echo "Open docs at: http://localhost:1313"

Diff for: README.md

+2
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
- [Hugo](https://github.com/gohugoio/hugo)
66
- macOS: `brew install hugo`
77
- Windows: `choco install hugo-extended -confirm`
8+
- [Node](https://nodejs.org/en/)
9+
- [Yarn](https://classic.yarnpkg.com/lang/en/docs/install)
810

911
## Serve
1012

0 commit comments

Comments
 (0)