2525 @echo " GNUmakefile for cpppo. Targets:"
2626 @echo " help This help"
2727 @echo " test Run unit tests under Python3"
28- @echo " build Build dist wheel and app under Python3"
28+ @echo " build Build dist wheel and gui under Python3"
2929 @echo " install Install in /usr/local for Python3"
3030 @echo " clean Remove build artifacts"
3131 @echo " upload Upload new version to pypi (package maintainer only)"
@@ -40,7 +40,7 @@ doctest:
4040
4141analyze :
4242 flake8 -j 1 --max-line-length=200 \
43- --ignore=W503,E201,E202,E221,E223,E226,E231,E242,E251,E265,E272,E274 \
43+ --ignore=W503,E201,E202,E221,E223,E226,E231,E241, E242,E251,E265,E272,E274 \
4444 slip39
4545
4646pylint :
@@ -52,7 +52,7 @@ build-check:
5252 || ( echo " \n*** Missing Python modules; run:\n\n $( PY3) -m pip install --upgrade pip setuptools wheel build\n" \
5353 && false )
5454
55- build : clean wheel app
55+ build : clean wheel gui
5656
5757wheel : dist/slip39-$(VERSION ) -py3-none-any.whl
5858
@@ -64,8 +64,8 @@ dist/slip39-$(VERSION)-py3-none-any.whl: build-check FORCE
6464install : dist/slip39-$(VERSION ) -py3-none-any.whl FORCE
6565 $(PY3 ) -m pip install --force-reinstall $^ [gui,serial,json]
6666
67- # Generate, Sign and Zip the App package TODO: Code signing w/ Apple Developer ID
68- app : dist/SLIP39.app-$(VERSION ) .zip
67+ # Generate, Sign and Zip the gui SLIP39.app package
68+ gui : dist/SLIP39.app-$(VERSION ) .zip
6969
7070# (cd dist; zip -r SLIP39.app-$(VERSION).zip SLIP39.app)
7171# Create a ZIP archive suitable for notarization.
@@ -74,7 +74,7 @@ dist/SLIP39.app-$(VERSION).zip: dist/SLIP39.app
7474 /usr/bin/ditto -c -k --keepParent " $( PWD) /$<" " $( PWD) /$@ "
7575 @ls -last dist
7676
77- # Rebuild the app ; ensure we discard any partial/prior build and app artifacts
77+ # Rebuild the gui ; ensure we discard any partial/prior build and gui artifacts
7878# --codesign-identity "$(DEVID)" # Nope; must change CFBundleShottVersionString before signing? Also different team IDs?
7979dist/SLIP39.app : SLIP39.py FORCE
8080 rm -rf build $@ *
0 commit comments