Make target for building everything
This commit is contained in:
parent
e62ccc7f5c
commit
6a9bb7ec81
5
Makefile
5
Makefile
|
@ -1,3 +1,8 @@
|
||||||
|
MAKEABLE_PACKAGES=syntax syntax-playground
|
||||||
|
|
||||||
|
all:
|
||||||
|
for p in $(MAKEABLE_PACKAGES); do $(MAKE) -C packages/$$p; done
|
||||||
|
|
||||||
bootstrap:
|
bootstrap:
|
||||||
npx lerna bootstrap
|
npx lerna bootstrap
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
.PHONY: build
|
.PHONY: build
|
||||||
|
|
||||||
build: clean
|
build:
|
||||||
mkdir -p lib
|
mkdir -p lib
|
||||||
cat node_modules/@babel/parser/lib/index.js babel_parser_suffix.js > lib/babel_parser.js
|
cat node_modules/@babel/parser/lib/index.js babel_parser_suffix.js > lib/babel_parser.js
|
||||||
npx babel src --out-dir lib
|
npx babel src --out-dir lib
|
||||||
|
|
Loading…
Reference in New Issue