-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
executable file
·40 lines (35 loc) · 1.37 KB
/
Makefile
File metadata and controls
executable file
·40 lines (35 loc) · 1.37 KB
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
# ------------------------------------------------- #
# #
# MAKEFILE #
# -------- #
# #
# Makefile commands for template: #
# #
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #
# #
# test: run tests via nosetest. #
# #
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ #
# #
# package: packages all components into #
# a few Docker images ready for deployment. #
# #
# ------------------------------------------------- #
VERSION ?= $(shell python bin/extract_version.py)
all: test package
test:
bash bin/test.sh;
#
# Build Docker images.
#
.PHONY: build
build: build-app-image
build-app-image:
bash bin/build_docker_image.sh $(VERSION);
#
# Packages all components of the
# application for deployment.
#
package: build-app-image
@echo "Building and packaging Docker image.";
docker save -o registry.dataproducts.team/skill-bitcointalk-insights-$(VERSION).tar skill-bitcointalk-insights:$(VERSION);