Skip to content

Commit

Permalink
Make user install less awful.
Browse files Browse the repository at this point in the history
  • Loading branch information
asottile committed Jun 12, 2014
1 parent 86dd2f5 commit 42032f9
Show file tree
Hide file tree
Showing 8 changed files with 2,455 additions and 24 deletions.
3 changes: 3 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@
- repo: git@github.com:pre-commit/pre-commit-hooks
sha: a751eb58f91d8fa70e8b87c9c95777c5a743a932
hooks:
- id: check-yaml
- id: debug-statements
- id: trailing-whitespace
- id: end-of-file-fixer
- id: flake8
- repo: git@github.com:pre-commit/pre-commit
sha: 5a1accd6974612349961a311d7559d332aca59c8
hooks:
Expand Down
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,15 @@ scss: py_env build scss/main.scss
bash -c 'source py_env/bin/activate && \
pyscss -o build/main.css scss/main.scss'

py_env: requirements_dev.txt
py_env: requirements-dev.txt
virtualenv py_env

bash -c 'source py_env/bin/activate && \
pip install -r requirements_dev.txt'
pip install -r requirements-dev.txt'

install-local.py: py_env make_bootstrap.py
bash -c '. py_env/bin/activate && \
python make_bootstrap.py'

clean:
rm -rf py_env
Expand Down
Loading

0 comments on commit 42032f9

Please sign in to comment.