-
Notifications
You must be signed in to change notification settings - Fork 74
/
Makefile
11 lines (11 loc) · 635 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
PRE-COMMIT-FILE = .git/hooks/pre-commit
init:
test -s $(PRE-COMMIT-FILE) || cp .githook/pre-commit $(PRE-COMMIT-FILE)
format:
@yapf --exclude env --exclude venv3 --exclude venv --exclude static --exclude www/alipay_direct --exclude www/utils/mnssdk --exclude backends --style style.cfg -r ./ -i
check:
@flake8 --exclude venv3,venv,env,static,www/alipay_direct,www/utils/mnssdk,backends,migrations --extend-ignore=W605 --max-line-length 129 ./
build-base:
docker build -t rainbond/rbd-ui-base:V5.3 -f Dockerfile.base .
build-allinone-image:
docker build --build-arg VERSION=V5.3 -t rainbond/rainbond:v5.3 -f Dockerfile.allinone .