Make target for building everything

This commit is contained in:
Tony Garnock-Jones 2018-11-02 12:25:34 +00:00
parent e62ccc7f5c
commit 6a9bb7ec81
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
MAKEABLE_PACKAGES=syntax syntax-playground
all:
for p in $(MAKEABLE_PACKAGES); do $(MAKE) -C packages/$$p; done
bootstrap:
npx lerna bootstrap

View File

@ -1,6 +1,6 @@
.PHONY: build
build: clean
build:
mkdir -p lib
cat node_modules/@babel/parser/lib/index.js babel_parser_suffix.js > lib/babel_parser.js
npx babel src --out-dir lib