aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-12-18 12:04:24 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2020-12-18 12:05:24 -0800
commit757dbc637b475058905d13fdb89e7cf98f6a331a (patch)
treea030f3bcf65125512c8be84c24cdf3641cb32ab3 /Makefile
parent6abe406aea1a3346aa5aa12151a3e7d36329ff35 (diff)
downloadpandoc-757dbc637b475058905d13fdb89e7cf98f6a331a.tar.gz
Improve check target to test data/ too.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 07fc6c772..f27272b08 100644
--- a/Makefile
+++ b/Makefile
@@ -114,14 +114,14 @@ update-website:
clean:
stack clean
-check-cabal: git-test-files.txt sdist-test-files.txt
- echo "Checking to see if all committed test files are in sdist..."
+check-cabal: git-files.txt sdist-files.txt
+ echo "Checking to see if all committed test/data files are in sdist."
diff -u $^
-sdist-test-files.txt: .FORCE
- cabal sdist --list-only | sed 's/\.\///' | grep '^test\/' | sort > $@
+sdist-files.txt: .FORCE
+ cabal sdist --list-only | sed 's/\.\///' | grep '^\(test\|data\)\/' | sort > $@
-git-test-files.txt: .FORCE
- git ls-tree -r --name-only HEAD | grep '^test\/' | sort > $@
+git-files.txt: .FORCE
+ git ls-tree -r --name-only HEAD | grep '^\(test\|data\)\/' | sort > $@
.PHONY: .FORCE deps quick full haddock install clean test bench changes_github dist prof download_stats reformat lint weigh doc/lua-filters.md pandoc-templates trypandoc update-website debpkg checkdocs ghcid ghci fix_spacing hlint check check-cabal