Commits (8)
-
Grégoire Locqueville authored
Many modules feature the `{-# OPTIONS_GHC -fno-warn-orphans #-}` pragma. In many cases, this pragma has no effect (because there are no orphan declarations in the module). In some other cases, a little bit of refactoring could make them useless. This commit removes the pragma only in those modules where removing it changes absolutely nothing.
9370d633 -
Grégoire Locqueville authored
Some modules consist only of commented code. This removes them.
52e001fb -
Grégoire Locqueville authored
Turning on the flag `-Wunused-packages` turns up a bunch of unused packages. This commit removes them from `gargantext.cabal`. (Note that `-Wunused-packages` is NOT turned on in this commit. I tried to turn it on, but occasionally got a bunch of other warnings which I didn't understand and couldn't get to reproduce reliably, about packages that were supposedly added via the `-package` or `-package-id` option (I don't know about that option) but are unused)
fdd36d14 -
Grégoire Locqueville authored
Some files in `src/` contain Haskell syntax, yet have the wrong extension (`.sh`, `.purs`, `.old`, `.hs.old`). They are not picked up by Cabal. They were most probably saved with the wrong extension by mistake, and forgotten about. Since the project builds fine without them, I think it is safe to say that they are not needed and can be safely removed.
614e7603 -
Grégoire Locqueville authored
This executable is not referenced in `gargantext.cabal`, and as such, it is never compiled.
-
Grégoire Locqueville authored
-
Grégoire Locqueville authored
The removed modules are literally not imported anywhere, so removing them has no effect. I may have missed some.
-
Grégoire Locqueville authored
Showing
This diff is collapsed.
This diff is collapsed.