aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2022-05-30 15:26:16 +1000
committerYuchen Pei <hi@ypei.me>2022-05-30 15:26:16 +1000
commitc282af2cd25d179ddc1437d1c9603f68bf8bdf93 (patch)
tree29c18f9c4e804fb09b1fc514c2dbf073527dfd37
parent93032c4e66e1ef8828245b398f6a36af173b499a (diff)
adding license and coppyright headers
-rw-r--r--src/F2Md/Config.hs20
-rw-r--r--src/F2Md/Export.hs20
-rw-r--r--src/F2Md/Import.hs20
-rw-r--r--src/F2Md/Types.hs20
-rw-r--r--src/F2Md/Utils.hs20
-rw-r--r--src/Main.hs20
6 files changed, 120 insertions, 0 deletions
diff --git a/src/F2Md/Config.hs b/src/F2Md/Config.hs
index 46a9a75..33380fa 100644
--- a/src/F2Md/Config.hs
+++ b/src/F2Md/Config.hs
@@ -1,3 +1,23 @@
+{-
+Copyright (C) 2022 Yuchen Pei.
+
+This file is part of f2md.
+
+f2md is free software: you can redistribute it and/or modify it under
+the terms of the GNU Affero General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+f2md is distributed in the hope that it will be useful, but WITHOUT
+ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General
+Public License for more details.
+
+You should have received a copy of the GNU Affero General Public
+License along with f2md. If not, see <https://www.gnu.org/licenses/>.
+
+-}
+
{-# LANGUAGE DeriveGeneric #-}
module F2Md.Config
diff --git a/src/F2Md/Export.hs b/src/F2Md/Export.hs
index 83da783..b06155c 100644
--- a/src/F2Md/Export.hs
+++ b/src/F2Md/Export.hs
@@ -1,3 +1,23 @@
+{-
+Copyright (C) 2022 Yuchen Pei.
+
+This file is part of f2md.
+
+f2md is free software: you can redistribute it and/or modify it under
+the terms of the GNU Affero General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+f2md is distributed in the hope that it will be useful, but WITHOUT
+ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General
+Public License for more details.
+
+You should have received a copy of the GNU Affero General Public
+License along with f2md. If not, see <https://www.gnu.org/licenses/>.
+
+-}
+
{-# LANGUAGE OverloadedStrings #-}
module F2Md.Export (writeMessage) where
diff --git a/src/F2Md/Import.hs b/src/F2Md/Import.hs
index 8dfdb40..7c8110c 100644
--- a/src/F2Md/Import.hs
+++ b/src/F2Md/Import.hs
@@ -1,3 +1,23 @@
+{-
+Copyright (C) 2022 Yuchen Pei.
+
+This file is part of f2md.
+
+f2md is free software: you can redistribute it and/or modify it under
+the terms of the GNU Affero General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+f2md is distributed in the hope that it will be useful, but WITHOUT
+ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General
+Public License for more details.
+
+You should have received a copy of the GNU Affero General Public
+License along with f2md. If not, see <https://www.gnu.org/licenses/>.
+
+-}
+
{-# LANGUAGE OverloadedStrings #-}
module F2Md.Import (toMessagesFromUrl) where
diff --git a/src/F2Md/Types.hs b/src/F2Md/Types.hs
index de63985..156c2f5 100644
--- a/src/F2Md/Types.hs
+++ b/src/F2Md/Types.hs
@@ -1,3 +1,23 @@
+{-
+Copyright (C) 2022 Yuchen Pei.
+
+This file is part of f2md.
+
+f2md is free software: you can redistribute it and/or modify it under
+the terms of the GNU Affero General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+f2md is distributed in the hope that it will be useful, but WITHOUT
+ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General
+Public License for more details.
+
+You should have received a copy of the GNU Affero General Public
+License along with f2md. If not, see <https://www.gnu.org/licenses/>.
+
+-}
+
module F2Md.Types where
import Data.Text (Text)
diff --git a/src/F2Md/Utils.hs b/src/F2Md/Utils.hs
index 149730e..25bf63a 100644
--- a/src/F2Md/Utils.hs
+++ b/src/F2Md/Utils.hs
@@ -1,3 +1,23 @@
+{-
+Copyright (C) 2022 Yuchen Pei.
+
+This file is part of f2md.
+
+f2md is free software: you can redistribute it and/or modify it under
+the terms of the GNU Affero General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+f2md is distributed in the hope that it will be useful, but WITHOUT
+ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General
+Public License for more details.
+
+You should have received a copy of the GNU Affero General Public
+License along with f2md. If not, see <https://www.gnu.org/licenses/>.
+
+-}
+
module F2Md.Utils (expandPath) where
import System.Directory
diff --git a/src/Main.hs b/src/Main.hs
index 42566d7..0907a9c 100644
--- a/src/Main.hs
+++ b/src/Main.hs
@@ -1,3 +1,23 @@
+{-
+Copyright (C) 2022 Yuchen Pei.
+
+This file is part of f2md.
+
+f2md is free software: you can redistribute it and/or modify it under
+the terms of the GNU Affero General Public License as published by
+the Free Software Foundation, either version 3 of the License, or
+(at your option) any later version.
+
+f2md is distributed in the hope that it will be useful, but WITHOUT
+ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
+or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General
+Public License for more details.
+
+You should have received a copy of the GNU Affero General Public
+License along with f2md. If not, see <https://www.gnu.org/licenses/>.
+
+-}
+
{-# LANGUAGE OverloadedStrings #-}
import qualified Data.Text as T