forked from cpp-lln-lab/spm_2_bids
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
30 lines (22 loc) · 710 Bytes
/
Makefile
File metadata and controls
30 lines (22 loc) · 710 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
25
26
27
28
29
30
.PHONY: clean version.txt
install_dev_octave: install_dev
cd lib/JSONio && mkoctfile --mex jsonread.c jsmn.c -DJSMN_PARENT_LINKS
install_dev: lib/bids-matlab lib/JSONio
lib/bids-matlab:
git clone https://github.com/bids-standard/bids-matlab.git --branch main lib/bids-matlab
lib/JSONio:
git clone https://github.com/gllmflndn/JSONio.git --depth 1 lib/JSONio
clean: clean_doc clean_tests
rm -rf lib/bids-matlab
rm -rf lib/JSONio
rm -rf version.txt
clean_doc:
cd docs && make clean
clean_tests:
rm -rf coverage_html
rm -f coverage.xml
rm -f *.log
version.txt: CITATION.cff
grep -w "^version" CITATION.cff | sed "s/version: /v/g" > version.txt
validate_cff: CITATION.cff
cffconvert --validate