Skip to content

Commit 45fc4bf

Browse files
committed
Adding NCBITaxon gz target
1 parent abcf0f6 commit 45fc4bf

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

Jenkinsfile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,14 @@ pipeline {
126126
onlyIfSuccessful: true
127127
archiveArtifacts artifacts: "ncbitaxon.owl",
128128
onlyIfSuccessful: true
129+
archiveArtifacts artifacts: "ncbitaxon.json",
130+
onlyIfSuccessful: true
131+
archiveArtifacts artifacts: "ncbitaxon.obo.gz",
132+
onlyIfSuccessful: true
133+
archiveArtifacts artifacts: "ncbitaxon.owl.gz",
134+
onlyIfSuccessful: true
135+
archiveArtifacts artifacts: "ncbitaxon.json.gz",
136+
onlyIfSuccessful: true
129137
archiveArtifacts artifacts: "ncbi_diff_latest_current_obo.txt",
130138
onlyIfSuccessful: true
131139
archiveArtifacts artifacts: "subsets/taxslim.owl",

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
.PHONY: all
22
all: ncbitaxon.owl ncbitaxon.obo ncbitaxon.json ncbi_diff_latest_current_obo.txt
3+
all: ncbitaxon.owl.gz ncbitaxon.obo.gz ncbitaxon.json.gz
34

45
ROBOT=robot
56

@@ -16,6 +17,9 @@ build/taxdmp.zip: | build
1617
ncbitaxon.ttl: src/ncbitaxon.py build/taxdmp.zip
1718
python3 $^ $@
1819

20+
ncbitaxon.%.gz: ncbitaxon.%
21+
gzip -c $< > $@.tmp && mv $@.tmp $@
22+
1923
.PRECIOUS: ncbitaxon.owl
2024
.PRECIOUS: ncbitaxon.obo
2125
ncbitaxon.owl ncbitaxon.obo ncbitaxon.json: ncbitaxon.ttl

0 commit comments

Comments
 (0)