File size: 465 Bytes
7daaa6b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
.PHONY: history regression

history:
	git log --pretty=tformat:"%H	%ae	%ai	%s" -- score/mces.py

regression:
	[ -d etc ] || mkdir etc; \
	[ -d tmp ] || mkdir tmp; \
	for i in $$(awk '{print $$1}' data/score/revisions.txt); do \
	  [ -d etc/$${i} ] || mkdir etc/$${i}; \
	  ( cd tmp; \
	    [ -d $${i} ] || git clone git@github.com:cfmrp/mtool.git $${i}; \
	    cd $${i}; git checkout $${i}; \
	    cd data/score; sbatch ../../../../data/score/test.slurm; ) \
	done