aboutsummaryrefslogtreecommitdiff
path: root/compiler/src
diff options
context:
space:
mode:
authorpacien2020-01-05 16:42:09 +0100
committerpacien2020-01-05 16:42:09 +0100
commitee222b40569b9f40c482dd9df518f6445c1c304d (patch)
tree84c31fb9618681e2eac5c0e033851ada19bae617 /compiler/src
parent9dd271504160b624284dbc438cdc867b6ca0d0e7 (diff)
downloadldgallery-ee222b40569b9f40c482dd9df518f6445c1c304d.tar.gz
compiler: enable language extensions on whole project
Diffstat (limited to 'compiler/src')
-rw-r--r--compiler/src/Compiler.hs7
-rw-r--r--compiler/src/Config.hs7
-rw-r--r--compiler/src/Files.hs6
-rw-r--r--compiler/src/Input.hs7
-rw-r--r--compiler/src/Processors.hs7
-rw-r--r--compiler/src/Resource.hs7
6 files changed, 0 insertions, 41 deletions
diff --git a/compiler/src/Compiler.hs b/compiler/src/Compiler.hs
index f4b38d0..b9f52e5 100644
--- a/compiler/src/Compiler.hs
+++ b/compiler/src/Compiler.hs
@@ -16,13 +16,6 @@
16-- You should have received a copy of the GNU Affero General Public License 16-- You should have received a copy of the GNU Affero General Public License
17-- along with this program. If not, see <https://www.gnu.org/licenses/>. 17-- along with this program. If not, see <https://www.gnu.org/licenses/>.
18 18
19{-# LANGUAGE
20 DuplicateRecordFields
21 , DeriveGeneric
22 , DeriveAnyClass
23 , NamedFieldPuns
24#-}
25
26module Compiler 19module Compiler
27 ( compileGallery 20 ( compileGallery
28 ) where 21 ) where
diff --git a/compiler/src/Config.hs b/compiler/src/Config.hs
index c6d77af..b9434ba 100644
--- a/compiler/src/Config.hs
+++ b/compiler/src/Config.hs
@@ -16,13 +16,6 @@
16-- You should have received a copy of the GNU Affero General Public License 16-- You should have received a copy of the GNU Affero General Public License
17-- along with this program. If not, see <https://www.gnu.org/licenses/>. 17-- along with this program. If not, see <https://www.gnu.org/licenses/>.
18 18
19{-# LANGUAGE
20 DuplicateRecordFields
21 , DeriveGeneric
22 , DeriveAnyClass
23 , OverloadedStrings
24#-}
25
26module Config 19module Config
27 ( GalleryConfig(..) 20 ( GalleryConfig(..)
28 , CompilerConfig(..) 21 , CompilerConfig(..)
diff --git a/compiler/src/Files.hs b/compiler/src/Files.hs
index 291a1c5..51e97e6 100644
--- a/compiler/src/Files.hs
+++ b/compiler/src/Files.hs
@@ -16,12 +16,6 @@
16-- You should have received a copy of the GNU Affero General Public License 16-- You should have received a copy of the GNU Affero General Public License
17-- along with this program. If not, see <https://www.gnu.org/licenses/>. 17-- along with this program. If not, see <https://www.gnu.org/licenses/>.
18 18
19{-# LANGUAGE
20 DuplicateRecordFields
21 , DeriveGeneric
22 , NamedFieldPuns
23#-}
24
25module Files 19module Files
26 ( FileName, LocalPath, WebPath, Path 20 ( FileName, LocalPath, WebPath, Path
27 , (</>), (</), (/>), (<.>) 21 , (</>), (</), (/>), (<.>)
diff --git a/compiler/src/Input.hs b/compiler/src/Input.hs
index ab2bc3c..02f79f0 100644
--- a/compiler/src/Input.hs
+++ b/compiler/src/Input.hs
@@ -16,13 +16,6 @@
16-- You should have received a copy of the GNU Affero General Public License 16-- You should have received a copy of the GNU Affero General Public License
17-- along with this program. If not, see <https://www.gnu.org/licenses/>. 17-- along with this program. If not, see <https://www.gnu.org/licenses/>.
18 18
19{-# LANGUAGE
20 DuplicateRecordFields
21 , DeriveGeneric
22 , DeriveAnyClass
23 , NamedFieldPuns
24#-}
25
26module Input 19module Input
27 ( decodeYamlFile 20 ( decodeYamlFile
28 , Sidecar(..) 21 , Sidecar(..)
diff --git a/compiler/src/Processors.hs b/compiler/src/Processors.hs
index 6ee8c78..e10dc21 100644
--- a/compiler/src/Processors.hs
+++ b/compiler/src/Processors.hs
@@ -16,13 +16,6 @@
16-- You should have received a copy of the GNU Affero General Public License 16-- You should have received a copy of the GNU Affero General Public License
17-- along with this program. If not, see <https://www.gnu.org/licenses/>. 17-- along with this program. If not, see <https://www.gnu.org/licenses/>.
18 18
19{-# LANGUAGE
20 DuplicateRecordFields
21 , DeriveGeneric
22 , DeriveAnyClass
23 , FlexibleContexts
24#-}
25
26module Processors 19module Processors
27 ( Resolution(..) 20 ( Resolution(..)
28 , DirFileProcessor, dirFileProcessor 21 , DirFileProcessor, dirFileProcessor
diff --git a/compiler/src/Resource.hs b/compiler/src/Resource.hs
index c09b77a..19bd32c 100644
--- a/compiler/src/Resource.hs
+++ b/compiler/src/Resource.hs
@@ -16,13 +16,6 @@
16-- You should have received a copy of the GNU Affero General Public License 16-- You should have received a copy of the GNU Affero General Public License
17-- along with this program. If not, see <https://www.gnu.org/licenses/>. 17-- along with this program. If not, see <https://www.gnu.org/licenses/>.
18 18
19{-# LANGUAGE
20 DuplicateRecordFields
21 , DeriveGeneric
22 , DeriveAnyClass
23 , NamedFieldPuns
24#-}
25
26module Resource 19module Resource
27 ( DirProcessor, ItemProcessor, ThumbnailProcessor 20 ( DirProcessor, ItemProcessor, ThumbnailProcessor
28 , GalleryItem(..), GalleryItemProps(..), Resolution(..) 21 , GalleryItem(..), GalleryItemProps(..), Resolution(..)