forked from cuemacro/tcapy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
42 lines (28 loc) · 794 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
41
#!make
PROJECT_VERSION := $(shell python setup.py --version)
SHELL := /bin/bash
PACKAGE := tcapy
.PHONY: help build jupyter test doc tag
.DEFAULT: help
help:
@echo "make build"
@echo " Build the docker image."
@echo "make test"
@echo " Build the docker image for testing and run them."
@echo "make doc"
@echo " Construct the documentation."
@echo "make tag"
@echo " Make a tag on Github."
build:
docker-compose build tcapy
jupyter:
docker-compose build jupyter
test:
docker-compose -f docker-compose.test.yml run sut
test_local:
docker-compose -f docker-compose.local.test.yml run sut
doc:
docker-compose -f docker-compose.test.yml run sut sphinx-build /source artifacts/build
tag:
git tag -a ${PROJECT_VERSION} -m "new tag"
git push --tags