We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56454eb commit fb33009Copy full SHA for fb33009
Makefile
@@ -3,12 +3,13 @@ PREFIX = ~/.micropython/lib
3
all:
4
5
# Installs all modules to a lib location, for development testing
6
+CMD="find . -maxdepth 1 -mindepth 1 \( -name '*.py' -not -name 'test_*' -not -name 'setup.py' \) -or \( -type d -not -name 'dist' -not -name '*.egg-info' -not -name '__pycache__' \)| xargs cp -r -t $(PREFIX)"
7
install:
8
@mkdir -p $(PREFIX)
9
@if [ -n "$(MOD)" ]; then \
- (cd $(MOD); cp -r * $(PREFIX)); \
10
+ (cd $(MOD); sh -c $(CMD)); \
11
else \
12
for d in $$(find -maxdepth 1 -type d ! -name ".*"); do \
- (cd $$d; cp -r * $(PREFIX)); \
13
+ (cd $$d; sh -c $(CMD)); \
14
done \
15
fi
0 commit comments