OSDN Git Service
(root)
/
twpd
/
master.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Regular updates
[twpd/master.git]
/
Makefile
1
npmbin := ./node_modules/.bin
2
PORT ?= 3000
3
HOST ?= 127.0.0.1
4
5
help:
6
@echo
7
@echo Makefile targets
8
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' Makefile | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
9
@echo
10
11
# Builds intermediate files. Needs a _site built first though
12
update: _site
13
14
# Builds _site
15
_site:
16
yarn build
17
18
dev:
19
yarn dev