Skip to content

Commit 955b172

Browse files
committed
Add Makefile to install all modules during development & testing.
1 parent 77046ca commit 955b172

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Makefile

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
PREFIX = ~/.micropython/lib
2+
3+
all:
4+
5+
# Installs all modules to a lib location, for development testing
6+
install:
7+
mkdir -p $(PREFIX)
8+
for d in $$(find -maxdepth 1 -type d ! -name ".*"); do \
9+
(cd $$d; cp -r $$(find . -name "*.py") $(PREFIX)); \
10+
done \

0 commit comments

Comments
 (0)