-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
24 lines (17 loc) · 841 Bytes
/
Makefile
File metadata and controls
24 lines (17 loc) · 841 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
all: unit-tests integration-tests
dep:
npm install -g mocha mersennetwister jstat node-getopt
unit-tests:
mocha -t 5000
integration-tests:
cd test/data/yeast; make
README.md: bin/wtfgenes.js
bin/wtfgenes.js -h | perl -pe 's/</</g;s/>/>/g;' | perl -e 'open FILE,"<README.md";while(<FILE>){last if/<pre>/;print}close FILE;print"<pre><code>\n";while(<>){print};print"</code></pre>\n"' >temp.md
mv temp.md $@
webclient:
cd web; make
cpp-js-comparison:
cd test/data/yeast; make go-basic.obo gene_association.sgd
cd cpp; make bin/wtfgenes
time cpp/bin/wtfgenes -o test/data/yeast/go-basic.obo -a test/data/yeast/gene_association.sgd -g test/data/yeast/cerevisiae-mating.txt -s 1000
time bin/wtfgenes.js -o test/data/yeast/go-basic.obo -a test/data/yeast/gene_association.sgd -g test/data/yeast/cerevisiae-mating.txt -s 1000