clean up cabal.project.local~*
Make whenever cabal configure is run with new cabal, and I don't need 100 copies of that to be backed up.
This commit is contained in:
parent
8b6c7bdbcc
commit
c775b3ed70
1 changed files with 3 additions and 0 deletions
3
Makefile
3
Makefile
|
@ -36,6 +36,7 @@ tmp/configure-stamp: Build/TestConfig.hs Build/Configure.hs
|
||||||
if [ "$(BUILDER)" = ./Setup ]; then $(GHC) --make Setup; fi
|
if [ "$(BUILDER)" = ./Setup ]; then $(GHC) --make Setup; fi
|
||||||
if [ "$(BUILDER)" != stack ]; then \
|
if [ "$(BUILDER)" != stack ]; then \
|
||||||
$(BUILDER) configure $(BUILDERCOMMONOPTIONS) --ghc-options="$(shell Build/collect-ghc-options.sh)"; \
|
$(BUILDER) configure $(BUILDERCOMMONOPTIONS) --ghc-options="$(shell Build/collect-ghc-options.sh)"; \
|
||||||
|
rm cabal.project.local~* 2>/dev/null || true; \
|
||||||
else \
|
else \
|
||||||
$(BUILDER) setup $(BUILDERCOMMONOPTIONS); \
|
$(BUILDER) setup $(BUILDERCOMMONOPTIONS); \
|
||||||
fi
|
fi
|
||||||
|
@ -50,6 +51,7 @@ tmp/configure-stamp: Build/TestConfig.hs Build/Configure.hs
|
||||||
dev:
|
dev:
|
||||||
$(BUILDER) configure -f"-Production" \
|
$(BUILDER) configure -f"-Production" \
|
||||||
--enable-executable-dynamic --enable-profiling
|
--enable-executable-dynamic --enable-profiling
|
||||||
|
rm cabal.project.local~* 2>/dev/null || true
|
||||||
mkdir -p tmp
|
mkdir -p tmp
|
||||||
touch tmp/configure-stamp
|
touch tmp/configure-stamp
|
||||||
$(MAKE) git-annex tags
|
$(MAKE) git-annex tags
|
||||||
|
@ -231,6 +233,7 @@ osxapp:
|
||||||
distributionupdate:
|
distributionupdate:
|
||||||
git pull
|
git pull
|
||||||
cabal configure
|
cabal configure
|
||||||
|
rm cabal.project.local~* 2>/dev/null || true
|
||||||
ghc -Wall -fno-warn-tabs --make Build/DistributionUpdate -XLambdaCase -XPackageImports
|
ghc -Wall -fno-warn-tabs --make Build/DistributionUpdate -XLambdaCase -XPackageImports
|
||||||
./Build/DistributionUpdate
|
./Build/DistributionUpdate
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue