kopia lustrzana https://git.sr.ht/~tsileo/microblog.pub
Allow config to use different python executable
rodzic
ca6cbc1675
commit
f960e15cbd
6
Makefile
6
Makefile
|
@ -1,8 +1,10 @@
|
|||
PYTHON=python
|
||||
|
||||
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:
|
||||
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:
|
||||
mypy . --ignore-missing-imports
|
||||
|
|
Ładowanie…
Reference in New Issue