forked from getsentry/freight
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
39 lines (32 loc) · 808 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
32
33
34
35
36
37
38
39
develop: update-submodules setup-git
@echo "--> Installing dependencies"
npm install
pip install -e .
pip install "file://`pwd`#egg=freight[test]"
setup-git:
@echo "--> Installing git hooks"
git config branch.autosetuprebase always
cd .git/hooks && ln -sf ../../hooks/* ./
@echo ""
upgrade:
@echo "--> Creating default 'freight' database"
createdb -E utf-8 freight || true
@echo "--> Running migrations"
bin/upgrade
update-submodules:
@echo "--> Updating git submodules"
git submodule init
git submodule update
@echo ""
test: develop lint-python test-python validate-heroku
test-python:
@echo "--> Running Python tests"
bin/test
@echo ""
lint-python:
@echo "--> Linting Python files"
bin/lint
@echo ""
validate-heroku:
@echo "--> Validating app.json"
npm run validate-app.json