forked from evo-company/featureflags
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
33 lines (25 loc) · 1.02 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
__default__:
@echo "Please specify a target to make"
setup.txt:
pip-compile --index-url https://pypi.evo.dev/root/pypi/ --extra-index-url https://pypi.evo.dev/platform/pypi/ server/setup.py
tests-reqs:
pip-compile --index-url https://pypi.evo.dev/root/pypi/ --extra-index-url https://pypi.evo.dev/platform/pypi/ requirements-tests.in
docs-reqs:
pip-compile --index-url https://pypi.evo.dev/root/pypi/ --extra-index-url https://pypi.evo.dev/platform/pypi/ requirements-docs.in
proto:
./scripts/protoc.sh
release-client:
./scripts/release_check.sh
cd client; python setup.py sdist --dist-dir ../dist
release-proto:
./scripts/release_check.sh
cd protobuf; python setup.py sdist --dist-dir ../dist
release: release-proto release-client
app-image:
rm -rf server/featureflags/server/web/static
pi webpack build
@git ls-files -s server | git hash-object --stdin > checksum.txt
@echo "checksum.txt => $$(cat checksum.txt)"
pi image build app
@echo "docker image => $$(pi image info --repo-tag app)"
@git checkout checksum.txt