File tree Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Expand file tree Collapse file tree 1 file changed +22
-2
lines changed Original file line number Diff line number Diff line change @@ -6,16 +6,36 @@ DOCKER_TAG = ocrd/cis
6
6
DOCKER_BASE_IMAGE = docker.io/ocrd/core:v3.1.0
7
7
SHELL = bash
8
8
9
+ help :
10
+ @echo " "
11
+ @echo " Targets"
12
+ @echo " "
13
+ @echo " install Install ocrd_cis"
14
+ @echo " install-dev Install in editable mode"
15
+ @echo " build Build source and binary distribution"
16
+ @echo " docker Build Docker image"
17
+ @echo " test Run unit tests"
18
+ @echo " "
19
+ @echo " Variables"
20
+ @echo " "
21
+ @echo " DOCKER_TAG '$( DOCKER_TAG) '"
22
+ @echo " PY '$( PY) '"
23
+ @echo " PIP '$( PIP) '"
24
+
9
25
install :
10
26
${PIP} install .
11
27
12
28
install-devel install-dev :
13
29
${PIP} install -e .
14
30
31
+ build :
32
+ ${PIP} install build
33
+ ${PY} -m build .
34
+
15
35
uninstall :
16
36
${PIP} uninstall ${PKG}
17
37
18
- docker-build : Dockerfile
38
+ docker-build docker : Dockerfile
19
39
docker build \
20
40
--build-arg DOCKER_BASE_IMAGE=$(DOCKER_BASE_IMAGE ) \
21
41
--build-arg VCS_REF=$$(git rev-parse --short HEAD ) \
@@ -48,4 +68,4 @@ test: $(TEST_SCRIPTS)
48
68
@cat test_parallel.log
49
69
@$(RM ) test_serially.log test_parallel.log
50
70
51
- .PHONY : install install-dev install-devel uninstall test docker-build docker-push
71
+ .PHONY : install install-dev install-devel build uninstall test docker docker-build docker-push
You can’t perform that action at this time.
0 commit comments