Fix cabal file change detection

Remove extraneous submodules and testdata cabal files
(At the time of this was added there were no submodules so I presume
invalidating the cache on submodule cabal file changes is unintentional)

Also sort the files so it is deterministic
This commit is contained in:
Luke Lau 2019-01-07 23:17:44 -05:00
parent d583788a65
commit 4ad8d2d54f

View File

@ -18,7 +18,7 @@ defaults: &defaults
- run:
name: Create a composite cabal file for changes detection
command: find . -name "*.cabal" | grep -v -e "stack-work" -e "dist-newstyle" | xargs cat > all-cabal.txt
command: find . -name "*.cabal" | grep -v -e "stack-work" -e "dist-newstyle" -e "submodules" -e "testdata" | sort | xargs cat > all-cabal.txt
- restore_cache:
keys: