forked from textmate/latex.tmbundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
36 lines (29 loc) · 1.1 KB
/
Makefile
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
31
32
33
34
35
36
# -----------------------------------------------------------------------------
# Date: 2014-11-16
# Author: René Schwaiger ([email protected])
# Version: 9
#
# Run tests for this bundle. To execute the tests:
#
# 1. Open the root folder of this bundle inside TextMate
# 2. Run the command “Build” (⌘B) located inside the Make bundle
#
# The tests require the nose test framework (http://nose.readthedocs.org) and
# cram (https://bitheap.org/cram/). For all tests to work correctly you also
# need to install “Skim” inside `/Applications`
# -----------------------------------------------------------------------------
.PHONY: run all clean cramtests nosetests
# -- Rules --------------------------------------------------------------------
run: all
all: nosetests cramtests
clean:
cd Tests/TeX && rm -vf *.acr *.alg *.bbl *.blg *.dvi *.fdb_latexmk *.fls \
*.glg *.gls *.ilg *.ind *.log *.ps *.pdf
nosetests:
nosetests --with-doctest \
Support/bin/itemize.py \
Support/bin/texmate.py \
Support/bin/texparser.py \
Support/bin/tmprefs.py
cramtests: clean
cd Tests/Cram && cram *.t