You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

makefile 411B

5 vuotta sitten
5 vuotta sitten
12345678910111213141516171819
  1. default: deploy
  2. test: venv/
  3. venv/bin/python -u test.py
  4. run: venv/
  5. pkill Python || true
  6. make test
  7. venv/bin/python -u pico.py
  8. deploy:
  9. rsync --archive --exclude-from=.gitignore . root@roderic.ca:/home/pico.chat/
  10. ssh root@roderic.ca "cd /home/pico.chat/ && service pico.chat restart"
  11. venv/: requirements.txt
  12. rm -rf venv
  13. python3 -m venv venv
  14. venv/bin/pip install websockets
  15. touch requirements.txt venv