forked from iodide-project/iodide
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
31 lines (22 loc) · 758 Bytes
/
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
.PHONY: build root-shell shell dbshell up lint lintfix test
build:
npm install
npm run build
docker-compose build
root-shell:
docker-compose run --rm -u 0 server bash
shell:
docker-compose run --rm server bash
dbshell:
docker-compose run --rm server bash -c "./manage.py dbshell"
up:
docker-compose up
lint:
docker-compose run --rm server ./bin/lint-check.sh
lintfix:
docker-compose run --rm server ./bin/lint-fix.sh
test:
docker-compose run --rm server tests
pip-compile:
docker-compose run --rm server -- pip-compile --verbose --upgrade --generate-hashes -o requirements/build.txt requirements/build.in
docker-compose run --rm server -- pip-compile --verbose --upgrade --generate-hashes -o requirements/tests.txt requirements/tests.in