diff --git a/Makefile b/Makefile index ffeb258..4ab5009 100644 --- a/Makefile +++ b/Makefile @@ -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 diff --git a/packages/syntax/Makefile b/packages/syntax/Makefile index 86c0471..7310a58 100644 --- a/packages/syntax/Makefile +++ b/packages/syntax/Makefile @@ -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