Makefile 310 B

12345678910111213
  1. .PHONY: compile
  2. compile:
  3. echo "IMPORTANT: Make sure the client is not currently running."
  4. cp debug.py debug.py.bak
  5. echo debug = False > debug.py
  6. python -OO -m PyInstaller run_client.py -y
  7. rm debug.py
  8. mv debug.py.bak debug.py
  9. cd dist; \
  10. "C:\Program Files\7-Zip\7z.exe" a \
  11. orderer.zip \
  12. run_client\*