-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
31 lines (22 loc) · 821 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
include common.mk
MODULES=wdl-1.0 tests
CROMWELL_VERSION=85
WOMTOOL_VERSION=85
lint:
flake8 $(MODULES) *.py
mypy:
mypy --ignore-missing-imports --no-strict-optional $(MODULES)
build: cromwell womtool
clean:
rm -rf build
cromwell:
mkdir -p build
if [ ! -f build/cromwell.jar ]; then \
wget https://github.com/broadinstitute/cromwell/releases/download/$(CROMWELL_VERSION)/cromwell-$(CROMWELL_VERSION).jar -O build/cromwell.jar; fi;
echo "cromwell version $(CROMWELL_VERSION) has been built!"
womtool:
mkdir -p build
if [ ! -f build/womtool.jar ]; then \
wget https://github.com/broadinstitute/cromwell/releases/download/$(WOMTOOL_VERSION)/womtool-$(WOMTOOL_VERSION).jar -O build/womtool.jar; fi;
echo "womtool version $(WOMTOOL_VERSION) has been built!"
.PHONY: lint mypy build cromwell womtool clean