forked from mozilla-services/socorro
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
34 lines (24 loc) · 863 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
# This Source Code Form is subject to the terms of the Mozilla Public
# License, v. 2.0. If a copy of the MPL was not distributed with this
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
.PHONY: all test bootstrap install lint clean breakpad stackwalker json_enhancements_pg_extension
all: test
test: bootstrap
bash -ex ./scripts/test.sh
bootstrap:
bash -ex ./scripts/bootstrap.sh
install: bootstrap
bash -ex ./scripts/install.sh
lint:
bash -ex ./scripts/lint.sh
clean:
bash ./scripts/clean.sh
breakpad:
PREFIX=`pwd`/stackwalk/ SKIP_TAR=1 ./scripts/build-breakpad.sh
json_enhancements_pg_extension: bootstrap
bash -e ./scripts/json-enhancements.sh
stackwalker:
# Build JSON stackwalker
# Depends on breakpad, run "make breakpad" if you don't have it yet
cd minidump-stackwalk; make
cp minidump-stackwalk/stackwalker stackwalk/bin