Skip to content

Commit bcbf14d

Browse files
committed
infra
1 parent 140b0e1 commit bcbf14d

File tree

4 files changed

+17
-5
lines changed

4 files changed

+17
-5
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
*DS_Store
22

3+
.vscode
4+
35
*.m~
46
*octave-workspace
57

@@ -16,7 +18,6 @@ test_report.log
1618

1719
# From : https://github.com/github/gitignore/blob/master/Global/MATLAB.gitignore
1820

19-
2021
# Windows default autosave extension
2122
*.asv
2223

CITATION.cff

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ cff-version: 1.2.0
22

33
title: "spm_2_bids"
44

5-
version: v0.1.0dev
5+
version: 0.1.0dev
66

77
abstract: Toolbox to convert SPM output files to valid BIDS derivatives.
88

Makefile

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,16 +5,24 @@ install_dev_octave: install_dev
55
install_dev: lib/bids-matlab lib/JSONio
66

77
lib/bids-matlab:
8-
git clone https://github.com/bids-standard/bids-matlab.git lib/bids-matlab
9-
cd lib/bids-matlab && git checkout dev
8+
git clone https://github.com/bids-standard/bids-matlab.git --branch dev lib/bids-matlab
109

1110
lib/JSONio:
1211
git clone https://github.com/gllmflndn/JSONio.git --depth 1 lib/JSONio
13-
clean:
12+
clean: clean_doc clean_tests
1413
rm -rf lib/bids-matlab
1514
rm -rf lib/JSONio
1615
rm -rf version.txt
1716

17+
clean_doc:
18+
cd docs && make clean
19+
20+
21+
clean_tests:
22+
rm -rf coverage_html
23+
rm -f coverage.xml
24+
rm -f *.log
25+
1826
version.txt: CITATION.cff
1927
grep -w "^version" CITATION.cff | sed "s/version: /v/g" > version.txt
2028

docs/Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,3 +18,6 @@ help:
1818
# "make mode" option. $(O) is meant as a shortcut for $(SPHINXOPTS).
1919
%: Makefile
2020
@$(SPHINXBUILD) -M $@ "$(SOURCEDIR)" "$(BUILDDIR)" $(SPHINXOPTS) $(O)
21+
22+
clean:
23+
rm -rf build

0 commit comments

Comments
 (0)