-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakefile
39 lines (33 loc) · 877 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
image=rnacentral/rnacentral-import-pipeline
tag=latest
sif=$(tag).sif
docker=$(image):$(tag)
rust:
cargo build --release
mv -f target/release/json2fasta bin
mv -f target/release/split-ena bin
mv -f target/release/expand-urs bin
mv -f target/release/precompute bin
mv -f target/release/search-export bin
mv -f target/release/ftp-export bin
mv -f target/release/json2dfasta bin
mv -f target/release/expression-parse bin
mv -f target/release/bed-expander bin
clean:
rm bin/json2fasta
rm bin/split-ena
rm bin/expand-urs
rm bin/precompute
rm bin/search-export
rm bin/ftp-export
rm bin/json2dfasta
rm bin/expression-parse
rm bin/bed-expander
cargo clean
docker: Dockerfile
docker build -t "$(docker)" .
shell: docker
docker run -v `pwd`:/rna/import-pipeline -i -t "$(docker)"
publish: docker
docker push "$(docker)"
.PHONY: docker publish clean env rust