-
-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathMakefile
43 lines (37 loc) · 900 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
42
43
build:
docker build -t vibranthq/press-ready .
test: build
docker run --rm -it \
-v ${CURDIR}:/workdir \
-e DEBUG=* \
vibranthq/press-ready \
build \
--input ./test/fixture/review.pdf --output ./output.pdf
test-chrome: build
docker run --rm -it \
-v ${CURDIR}:/workdir \
-e DEBUG=* \
vibranthq/press-ready \
build \
--input ./test/fixture/chrome.pdf \
--output ./output.pdf \
--no-enforce-outline
test-gray: build
docker run --rm -it \
-v ${CURDIR}:/workdir \
-e DEBUG=* \
vibranthq/press-ready \
build \
--input ./test/fixture/chrome.pdf \
--output ./output.pdf \
--gray-scale
test-lint: build
docker run --rm -it \
-v ${CURDIR}:/workdir \
-e DEBUG=* \
vibranthq/press-ready \
lint ./test/fixture/review.pdf
run: build
docker run --rm -it -v ${CURDIR}:/workdir --entrypoint bash vibranthq/press-ready
clean:
docker rmi vibranthq/press-ready