git rebase -i: add static check for commands and SHA-1
[git.git] / contrib / mw-to-git / t / Makefile
blobf422203fa069fce4e482833db975ffb28b970929
2 # Copyright (C) 2012
3 # Charles Roussel <charles.roussel@ensimag.imag.fr>
4 # Simon Cathebras <simon.cathebras@ensimag.imag.fr>
5 # Julien Khayat <julien.khayat@ensimag.imag.fr>
6 # Guillaume Sasdy <guillaume.sasdy@ensimag.imag.fr>
7 # Simon Perrat <simon.perrat@ensimag.imag.fr>
9 ## Test git-remote-mediawiki
11 all: test
13 -include ../../../config.mak.autogen
14 -include ../../../config.mak
16 T = $(wildcard t[0-9][0-9][0-9][0-9]-*.sh)
18 .PHONY: help test clean all
20 help:
21 @echo 'Run "$(MAKE) test" to launch test scripts'
22 @echo 'Run "$(MAKE) clean" to remove trash folders'
24 test:
25 @for t in $(T); do \
26 echo "$$t"; \
27 "./$$t" || exit 1; \
28 done
30 clean:
31 $(RM) -r 'trash directory'.*