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