-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
52 lines (38 loc) · 1.18 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
init::
python -m pip install --upgrade pip
python -m pip install pip-tools
python -m piptools compile requirements/dev-requirements.in
python -m piptools compile requirements/requirements.in
python -m piptools sync requirements/dev-requirements.txt requirements/requirements.txt
python -m pre_commit install
npm install
reqs:
python -m piptools compile requirements/dev-requirements.in
python -m piptools compile requirements/requirements.in
python -m piptools sync requirements/requirements.txt requirements/dev-requirements.txt
upgrade:
python -m piptools compile --upgrade requirements/dev-requirements.in
python -m piptools compile --upgrade requirements/requirements.in
python -m piptools sync requirements/requirements.txt requirements/dev-requirements.txt
black:
black application tests
black-check:
black --check application tests
flake8:
flake8 .
isort:
isort --profile black .
lint: black flake8 isort
watch:
npm run watch
build-css:
npm run nps build.stylesheets
build-js:
npm run nps build.javascripts
build-assets: build-css build-js
copyjs:
npm run copyjs
assets: build-assets copyjs
assets-clobber:
rm -rf application/static/
mkdir -p application/static