UNPKG

432 BPlain TextView Raw
1BIN := node_modules/.bin
2
3# these are not files
4.PHONY: clean test patch
5
6# disable default suffixes
7.SUFFIXES:
8
9all: yarn.lock
10
11yarn.lock:: package.json
12 @yarn install --production=false
13 @touch -mr $@ $<
14
15yarn.lock:: node_modules
16 @yarn install --production=false --check-files
17 @touch -mr $@ $<
18
19node_modules:
20 mkdir -p $@
21
22patch:
23 npm version patch
24 npm publish
25
26clean:
27 rm -rf node_modules
28
29test: yarn.lock
30 $(error No tests)
\No newline at end of file