Skip to content

Commit 503984a

Browse files
committed
website: add simple makefile for testing locally
Something like: `cd website && make serve` Then you can open <http://localhost:1313/> Signed-off-by: Anders F Björklund <[email protected]>
1 parent d6585bc commit 503984a

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

website/Makefile

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# See also: package.json
2+
NPM ?= npm
3+
4+
build serve: _output/docsy
5+
$(NPM) run $@
6+
7+
_output/docsy:
8+
$(MAKE) -C .. docsy
9+
10+
clean:
11+
$(NPM) run $@
12+
rm -Rf _output

0 commit comments

Comments
 (0)