From d6b903e6cc007a76a3ecdf124fa1df4203a97dbe Mon Sep 17 00:00:00 2001 From: Carlo Marcelo Arenas Belon Date: Mon, 28 Oct 2013 01:35:19 -0700 Subject: [PATCH] gitignore and makefile for building with cabal and make makefile should also delete cabal generated files on cleanup so they could be used interchangably. ensure that all generated files are ignored as recommended by bese practices. --- .gitignore | 6 ++++++ Makefile | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e7afb85 --- /dev/null +++ b/.gitignore @@ -0,0 +1,6 @@ +*.hi +*.o +.tests +jsoncheck +shellcheck +dist diff --git a/Makefile b/Makefile index 55a7844..7106a98 100644 --- a/Makefile +++ b/Makefile @@ -18,6 +18,6 @@ jsoncheck: regardless ./test/runQuack && touch .tests clean: - rm -f .tests shellcheck jsoncheck *.hi *.o ShellCheck/*.hi ShellCheck/*.o + rm -f .tests dist shellcheck jsoncheck *.hi *.o ShellCheck/*.hi ShellCheck/*.o regardless: