Skip to content

Commit 0ecfeed

Browse files
committed
Makefile
1 parent b4669c2 commit 0ecfeed

1 file changed

Lines changed: 24 additions & 0 deletions

File tree

Makefile

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
##
2+
# bs-python
3+
#
4+
# @version 0.4
5+
6+
CPYPREFIX := cpy/circuitpython
7+
8+
.PHONY: default
9+
default: run
10+
11+
.PHONY: all
12+
all: init build
13+
14+
.PHONY: clean
15+
clean:
16+
rm -rf ${CPYPREFIX}
17+
18+
.PHONY: run
19+
run:
20+
python3 main.py
21+
docker pull boardsource/bs-python
22+
docker run -v $(pwd)/build_out:/build_out -v $(pwd)/cpy/circuitpython:/cpy/circuitpython boardsource/bs-python && bash post_build.sh
23+
24+
# end

0 commit comments

Comments
 (0)