Makefile 334 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 -O -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. ../frontend/orderer.zip \
  12. run_client\*