Skip to content

Commit 167e69f

Browse files
committed
build: add build-binaries target and clean npm tarballs
1 parent 6ab33ee commit 167e69f

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

Makefile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: setup install dev test build publish clean lint format doctor build-node run-node doctor-node
1+
.PHONY: setup install dev test build publish clean lint format doctor build-node build-binaries run-node doctor-node
22

33
setup: install dev
44

@@ -32,6 +32,9 @@ doctor:
3232
build-node:
3333
cd node_version && npm install && npm run build
3434

35+
build-binaries:
36+
python scripts/build_pyinstaller.py
37+
3538
run-node:
3639
node node_version/dist/cli.js facebook/react
3740

@@ -40,4 +43,6 @@ doctor-node:
4043

4144
clean:
4245
rm -rf dist build *.egg-info
43-
rm -rf node_version/dist node_version/node_modules
46+
rm -rf __pycache__ explain_this_repo/__pycache__
47+
rm -rf node_version/dist node_version/node_modules
48+
rm -f node_version/*.tgz *.tgz

0 commit comments

Comments
 (0)