mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 21:24:28 +00:00
Merge pull request #3 from dsblank/patch-2
Allow config to use different python executable
This commit is contained in:
commit
92bd258637
1 changed files with 4 additions and 2 deletions
6
Makefile
6
Makefile
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue