From aac0f2ae6a707a4eb4d79f0744d83a07fecfe83e Mon Sep 17 00:00:00 2001 From: Petter Rasmussen Date: Sat, 20 Mar 2021 18:29:58 +0100 Subject: [PATCH] Move src files into src --- glot.cabal | 2 +- Application.hs => src/Application.hs | 0 Foundation.hs => src/Foundation.hs | 0 {Glot => src/Glot}/DockerRun.hs | 0 {Glot => src/Glot}/Language.hs | 0 {Glot => src/Glot}/Snippet.hs | 0 {Handler => src/Handler}/Account.hs | 0 {Handler => src/Handler}/Alert.hs | 0 {Handler => src/Handler}/Api/Run.hs | 0 {Handler => src/Handler}/Api/Snippets.hs | 0 {Handler => src/Handler}/Common.hs | 0 {Handler => src/Handler}/Compose.hs | 0 {Handler => src/Handler}/Home.hs | 0 {Handler => src/Handler}/Meta.hs | 0 {Handler => src/Handler}/Run.hs | 0 {Handler => src/Handler}/Snippet.hs | 0 {Handler => src/Handler}/Snippets.hs | 0 {Handler => src/Handler}/UserSnippets.hs | 0 Import.hs => src/Import.hs | 0 {Import => src/Import}/NoFoundation.hs | 0 Model.hs => src/Model.hs | 0 {Model => src/Model}/Pagination.hs | 0 {Model => src/Model}/Snippet.hs | 0 Settings.hs => src/Settings.hs | 0 {Settings => src/Settings}/Environment.hs | 0 {Settings => src/Settings}/StaticFiles.hs | 0 {Util => src/Util}/Alert.hs | 0 {Util => src/Util}/Handler.hs | 0 {Util => src/Util}/Hash.hs | 0 {Util => src/Util}/Multiline.hs | 0 {Util => src/Util}/Persistent.hs | 0 {Util => src/Util}/Shakespare.hs | 0 {Util => src/Util}/Slug.hs | 0 {Util => src/Util}/Snippet.hs | 0 {Util => src/Util}/User.hs | 0 {Widget => src/Widget}/CarbonAds.hs | 0 {Widget => src/Widget}/Editor.hs | 0 {Widget => src/Widget}/Languages.hs | 0 {Widget => src/Widget}/Pagination.hs | 0 {Widget => src/Widget}/Share.hs | 0 {Yesod => src/Yesod}/Auth/Simple.hs | 0 41 files changed, 1 insertion(+), 1 deletion(-) rename Application.hs => src/Application.hs (100%) rename Foundation.hs => src/Foundation.hs (100%) rename {Glot => src/Glot}/DockerRun.hs (100%) rename {Glot => src/Glot}/Language.hs (100%) rename {Glot => src/Glot}/Snippet.hs (100%) rename {Handler => src/Handler}/Account.hs (100%) rename {Handler => src/Handler}/Alert.hs (100%) rename {Handler => src/Handler}/Api/Run.hs (100%) rename {Handler => src/Handler}/Api/Snippets.hs (100%) rename {Handler => src/Handler}/Common.hs (100%) rename {Handler => src/Handler}/Compose.hs (100%) rename {Handler => src/Handler}/Home.hs (100%) rename {Handler => src/Handler}/Meta.hs (100%) rename {Handler => src/Handler}/Run.hs (100%) rename {Handler => src/Handler}/Snippet.hs (100%) rename {Handler => src/Handler}/Snippets.hs (100%) rename {Handler => src/Handler}/UserSnippets.hs (100%) rename Import.hs => src/Import.hs (100%) rename {Import => src/Import}/NoFoundation.hs (100%) rename Model.hs => src/Model.hs (100%) rename {Model => src/Model}/Pagination.hs (100%) rename {Model => src/Model}/Snippet.hs (100%) rename Settings.hs => src/Settings.hs (100%) rename {Settings => src/Settings}/Environment.hs (100%) rename {Settings => src/Settings}/StaticFiles.hs (100%) rename {Util => src/Util}/Alert.hs (100%) rename {Util => src/Util}/Handler.hs (100%) rename {Util => src/Util}/Hash.hs (100%) rename {Util => src/Util}/Multiline.hs (100%) rename {Util => src/Util}/Persistent.hs (100%) rename {Util => src/Util}/Shakespare.hs (100%) rename {Util => src/Util}/Slug.hs (100%) rename {Util => src/Util}/Snippet.hs (100%) rename {Util => src/Util}/User.hs (100%) rename {Widget => src/Widget}/CarbonAds.hs (100%) rename {Widget => src/Widget}/Editor.hs (100%) rename {Widget => src/Widget}/Languages.hs (100%) rename {Widget => src/Widget}/Pagination.hs (100%) rename {Widget => src/Widget}/Share.hs (100%) rename {Yesod => src/Yesod}/Auth/Simple.hs (100%) diff --git a/glot.cabal b/glot.cabal index 9785649..0720fbc 100644 --- a/glot.cabal +++ b/glot.cabal @@ -12,7 +12,7 @@ Flag library-only Default: False library - hs-source-dirs: ., app + hs-source-dirs: src, app exposed-modules: Application Foundation Import diff --git a/Application.hs b/src/Application.hs similarity index 100% rename from Application.hs rename to src/Application.hs diff --git a/Foundation.hs b/src/Foundation.hs similarity index 100% rename from Foundation.hs rename to src/Foundation.hs diff --git a/Glot/DockerRun.hs b/src/Glot/DockerRun.hs similarity index 100% rename from Glot/DockerRun.hs rename to src/Glot/DockerRun.hs diff --git a/Glot/Language.hs b/src/Glot/Language.hs similarity index 100% rename from Glot/Language.hs rename to src/Glot/Language.hs diff --git a/Glot/Snippet.hs b/src/Glot/Snippet.hs similarity index 100% rename from Glot/Snippet.hs rename to src/Glot/Snippet.hs diff --git a/Handler/Account.hs b/src/Handler/Account.hs similarity index 100% rename from Handler/Account.hs rename to src/Handler/Account.hs diff --git a/Handler/Alert.hs b/src/Handler/Alert.hs similarity index 100% rename from Handler/Alert.hs rename to src/Handler/Alert.hs diff --git a/Handler/Api/Run.hs b/src/Handler/Api/Run.hs similarity index 100% rename from Handler/Api/Run.hs rename to src/Handler/Api/Run.hs diff --git a/Handler/Api/Snippets.hs b/src/Handler/Api/Snippets.hs similarity index 100% rename from Handler/Api/Snippets.hs rename to src/Handler/Api/Snippets.hs diff --git a/Handler/Common.hs b/src/Handler/Common.hs similarity index 100% rename from Handler/Common.hs rename to src/Handler/Common.hs diff --git a/Handler/Compose.hs b/src/Handler/Compose.hs similarity index 100% rename from Handler/Compose.hs rename to src/Handler/Compose.hs diff --git a/Handler/Home.hs b/src/Handler/Home.hs similarity index 100% rename from Handler/Home.hs rename to src/Handler/Home.hs diff --git a/Handler/Meta.hs b/src/Handler/Meta.hs similarity index 100% rename from Handler/Meta.hs rename to src/Handler/Meta.hs diff --git a/Handler/Run.hs b/src/Handler/Run.hs similarity index 100% rename from Handler/Run.hs rename to src/Handler/Run.hs diff --git a/Handler/Snippet.hs b/src/Handler/Snippet.hs similarity index 100% rename from Handler/Snippet.hs rename to src/Handler/Snippet.hs diff --git a/Handler/Snippets.hs b/src/Handler/Snippets.hs similarity index 100% rename from Handler/Snippets.hs rename to src/Handler/Snippets.hs diff --git a/Handler/UserSnippets.hs b/src/Handler/UserSnippets.hs similarity index 100% rename from Handler/UserSnippets.hs rename to src/Handler/UserSnippets.hs diff --git a/Import.hs b/src/Import.hs similarity index 100% rename from Import.hs rename to src/Import.hs diff --git a/Import/NoFoundation.hs b/src/Import/NoFoundation.hs similarity index 100% rename from Import/NoFoundation.hs rename to src/Import/NoFoundation.hs diff --git a/Model.hs b/src/Model.hs similarity index 100% rename from Model.hs rename to src/Model.hs diff --git a/Model/Pagination.hs b/src/Model/Pagination.hs similarity index 100% rename from Model/Pagination.hs rename to src/Model/Pagination.hs diff --git a/Model/Snippet.hs b/src/Model/Snippet.hs similarity index 100% rename from Model/Snippet.hs rename to src/Model/Snippet.hs diff --git a/Settings.hs b/src/Settings.hs similarity index 100% rename from Settings.hs rename to src/Settings.hs diff --git a/Settings/Environment.hs b/src/Settings/Environment.hs similarity index 100% rename from Settings/Environment.hs rename to src/Settings/Environment.hs diff --git a/Settings/StaticFiles.hs b/src/Settings/StaticFiles.hs similarity index 100% rename from Settings/StaticFiles.hs rename to src/Settings/StaticFiles.hs diff --git a/Util/Alert.hs b/src/Util/Alert.hs similarity index 100% rename from Util/Alert.hs rename to src/Util/Alert.hs diff --git a/Util/Handler.hs b/src/Util/Handler.hs similarity index 100% rename from Util/Handler.hs rename to src/Util/Handler.hs diff --git a/Util/Hash.hs b/src/Util/Hash.hs similarity index 100% rename from Util/Hash.hs rename to src/Util/Hash.hs diff --git a/Util/Multiline.hs b/src/Util/Multiline.hs similarity index 100% rename from Util/Multiline.hs rename to src/Util/Multiline.hs diff --git a/Util/Persistent.hs b/src/Util/Persistent.hs similarity index 100% rename from Util/Persistent.hs rename to src/Util/Persistent.hs diff --git a/Util/Shakespare.hs b/src/Util/Shakespare.hs similarity index 100% rename from Util/Shakespare.hs rename to src/Util/Shakespare.hs diff --git a/Util/Slug.hs b/src/Util/Slug.hs similarity index 100% rename from Util/Slug.hs rename to src/Util/Slug.hs diff --git a/Util/Snippet.hs b/src/Util/Snippet.hs similarity index 100% rename from Util/Snippet.hs rename to src/Util/Snippet.hs diff --git a/Util/User.hs b/src/Util/User.hs similarity index 100% rename from Util/User.hs rename to src/Util/User.hs diff --git a/Widget/CarbonAds.hs b/src/Widget/CarbonAds.hs similarity index 100% rename from Widget/CarbonAds.hs rename to src/Widget/CarbonAds.hs diff --git a/Widget/Editor.hs b/src/Widget/Editor.hs similarity index 100% rename from Widget/Editor.hs rename to src/Widget/Editor.hs diff --git a/Widget/Languages.hs b/src/Widget/Languages.hs similarity index 100% rename from Widget/Languages.hs rename to src/Widget/Languages.hs diff --git a/Widget/Pagination.hs b/src/Widget/Pagination.hs similarity index 100% rename from Widget/Pagination.hs rename to src/Widget/Pagination.hs diff --git a/Widget/Share.hs b/src/Widget/Share.hs similarity index 100% rename from Widget/Share.hs rename to src/Widget/Share.hs diff --git a/Yesod/Auth/Simple.hs b/src/Yesod/Auth/Simple.hs similarity index 100% rename from Yesod/Auth/Simple.hs rename to src/Yesod/Auth/Simple.hs