-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
39 lines (27 loc) · 799 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
.PHONY: all
clean-dataprep:
(cd dataprep/amz-product-review-transformer; make clean)
(cd dataprep/tweets-transformer; make clean)
clean-cli:
(cd cli; make clean)
clean: clean-dataprep clean-cli clean-docker
clean-docker:
rm -rf docker-build
install-dataprep:
(cd dataprep/amz-product-review-transformer; make all)
(cd dataprep/tweets-transformer; make all)
install-cli:
(cd cli; make all)
install: install-dataprep install-cli
docker-clean:
rm -rf docker-build
make clean-cli
docker-deps:
(cd cli; make dist)
docker:
mkdir -p docker-build
cp env/docker/Dockerfile docker-build/Dockerfile
cp cli/dist/wtsp-0.1.1.tar.gz docker-build/wtsp-0.1.1.tar.gz
(cd docker-build; docker image build -t ohtar10/wtsp:0.1.1 .)
docker-all: docker-clean docker-deps docker
all: clean install