Skip to content

Commit

Permalink
refactor(sut): move journaling dumblog app one directory down
Browse files Browse the repository at this point in the history
  • Loading branch information
symbiont-stevan-andjelkovic committed Feb 18, 2022
1 parent e75fa02 commit 9a84f89
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 37 deletions.
File renamed without changes.
8 changes: 8 additions & 0 deletions src/sut/dumblog/app/sqlite/Main.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
module Main where

import qualified Dumblog.SQLite.Main

------------------------------------------------------------------------

main :: IO ()
main = Dumblog.SQLite.Main.main
89 changes: 52 additions & 37 deletions src/sut/dumblog/dumblog.cabal
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ version: 0.1.0.0
license:
license-file: LICENSE
author: Daniel Gustafsson, Stevan Andjelkovic
maintainer: [email protected],
[email protected]
maintainer:
[email protected],
[email protected]

copyright: Copyright (c) 2021-2022 Symbiont Inc

-- category:
extra-source-files:
CHANGELOG.md
Expand All @@ -27,43 +29,56 @@ extra-source-files:

library
build-depends:
, base ^>=4.14.1.0
, binary
, bytestring
, containers
, directory
, filepath
, http-types
, journal
, text
, time
, wai
, warp
, base ^>=4.14.1.0
, binary
, bytestring
, containers
, directory
, filepath
, http-types
, journal
, text
, time
, wai
, warp

exposed-modules:
Dumblog.Journal.Blocker
, Dumblog.Journal.Codec
, Dumblog.Journal.FrontEnd
, Dumblog.Journal.Metrics
, Dumblog.Journal.Snapshot
, Dumblog.Journal.StateMachine
, Dumblog.Journal.Types
, Dumblog.Journal.Worker
hs-source-dirs: src
Dumblog.Journal.Blocker
Dumblog.Journal.Codec
Dumblog.Journal.FrontEnd
Dumblog.Journal.Metrics
Dumblog.Journal.Snapshot
Dumblog.Journal.StateMachine
Dumblog.Journal.Types
Dumblog.Journal.Worker
Dumblog.SQLite.Main

hs-source-dirs: src
default-language: Haskell2010

executable dumblog
main-is: Main.hs
executable dumblog-journal
main-is: Main.hs

-- Modules included in this executable, other than Main.
-- other-modules:

-- LANGUAGE extensions used by modules in this package.
-- other-extensions:
build-depends:
, async
, base
, directory
, dumblog
, journal

-- Modules included in this executable, other than Main.
-- other-modules:
hs-source-dirs: app/journal
default-language: Haskell2010

-- LANGUAGE extensions used by modules in this package.
-- other-extensions:
build-depends:
, async
, base ^>=4.14.1.0
, directory
, dumblog
, journal
hs-source-dirs: app
default-language: Haskell2010
executable dumblog-sqlite
main-is: Main.hs
build-depends:
, base
, dumblog

hs-source-dirs: app/sqlite
default-language: Haskell2010
4 changes: 4 additions & 0 deletions src/sut/dumblog/src/Dumblog/SQLite/Main.hs
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module Dumblog.SQLite.Main where

main :: IO ()
main = putStrLn "hi"

0 comments on commit 9a84f89

Please sign in to comment.