Allow config to use different python executable

This commit is contained in:
Doug Blank 2018-06-03 10:27:35 -04:00 committed by GitHub
parent ca6cbc1675
commit f960e15cbd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,8 +1,10 @@
PYTHON=python
css: css:
python -c "import sass; sass.compile(dirname=('sass', 'static/css'), output_style='compressed')" $(PYTHON) -c "import sass; sass.compile(dirname=('sass', 'static/css'), output_style='compressed')"
password: password:
python -c "import bcrypt; from getpass import getpass; print(bcrypt.hashpw(getpass().encode('utf-8'), bcrypt.gensalt()).decode('utf-8'))" $(PYTHON) -c "import bcrypt; from getpass import getpass; print(bcrypt.hashpw(getpass().encode('utf-8'), bcrypt.gensalt()).decode('utf-8'))"
docker: docker:
mypy . --ignore-missing-imports mypy . --ignore-missing-imports