forked from tylertreat/frugal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
40 lines (31 loc) · 768 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
40
THIS_REPO := github.com/Workiva/frugal
all: unit
clean:
@rm -rf /tmp/frugal
@rm -rf /tmp/frugal-py3
unit: clean unit-cli unit-go unit-java unit-py2 unit-py3
unit-cli:
go test ./test -race
unit-go:
cd lib/go && glide install && go test -v -race
unit-java:
mvn -f lib/java/pom.xml checkstyle:check clean verify
unit-py2:
virtualenv -p /usr/bin/python /tmp/frugal && \
. /tmp/frugal/bin/activate && \
$(MAKE) -C $(PWD)/lib/python deps-tornado deps-gae xunit-py2 flake8-py2 &&\
deactivate
unit-py3:
virtualenv -p python3 /tmp/frugal-py3 && \
. /tmp/frugal-py3/bin/activate && \
$(MAKE) -C $(PWD)/lib/python deps-asyncio xunit-py3 flake8-py3 && \
deactivate
.PHONY: \
all \
clean \
unit \
unit-cli \
unit-go \
unit-java \
unit-py2 \
unit-py3